Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009127/0.0009128, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002772, allocations: 8 kB / 307.7 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1219, allocations: 51.52 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001767/0.1237, allocations: 1.305 MB / 360.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008718/0.1246, allocations: 0.5144 MB / 361.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.1247, allocations: 4 kB / 361.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.1247, allocations: 0 / 361.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.1248, allocations: 7.922 kB / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.1251, allocations: 55.83 kB / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.1252, allocations: 39.84 kB / 361.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.1253, allocations: 15.98 kB / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1254, allocations: 35.84 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.1255, allocations: 19.86 kB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1255, allocations: 0 / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.726e-05/0.1255, allocations: 4 kB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.1256, allocations: 7.938 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.1256, allocations: 57.5 kB / 361.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1257, allocations: 47.8 kB / 361.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1257, allocations: 0 / 361.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1257, allocations: 0 / 361.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.1258, allocations: 0 / 361.4 MB, free: 11.15 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003983/0.1262, allocations: 375.4 kB / 361.7 MB, free: 10.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1262, allocations: 8.031 kB / 361.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.1263, allocations: 24.83 kB / 361.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.1265, allocations: 192.2 kB / 362 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.1265, allocations: 4.312 kB / 362 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1266, allocations: 12.31 kB / 362 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.1268, allocations: 121.3 kB / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1268, allocations: 0 / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1268, allocations: 0 / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1269, allocations: 0 / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.433e-05/0.1269, allocations: 27.98 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.1272, allocations: 269.6 kB / 362.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.1274, allocations: 146.3 kB / 362.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.972e-05/0.1275, allocations: 29.77 kB / 362.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1275, allocations: 7.938 kB / 362.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1276, allocations: 30.56 kB / 362.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1276, allocations: 0 / 362.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002529/0.1278, allocations: 93.5 kB / 362.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1279, allocations: 81.11 kB / 362.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.128, allocations: 141.6 kB / 362.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.128, allocations: 29.7 kB / 362.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.1281, allocations: 84.14 kB / 363 MB, free: 9.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.1281, allocations: 3.906 kB / 363 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.1281, allocations: 21.84 kB / 363 MB, free: 9.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.1282, allocations: 314.8 kB / 363.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.1283, allocations: 12 kB / 363.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.018e-05/0.1283, allocations: 31.42 kB / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1285, allocations: 63.3 kB / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1285, allocations: 0 / 363.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001398/0.1286, allocations: 77.58 kB / 363.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1286, allocations: 4 kB / 363.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1287, allocations: 0 / 363.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1287, allocations: 3.938 kB / 363.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.1287, allocations: 19.98 kB / 363.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1288, allocations: 0 / 363.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.1288, allocations: 4 kB / 363.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1288, allocations: 0 / 363.6 MB, free: 8.668 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.646e-05/0.1289, allocations: 129.8 kB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.129, allocations: 57.53 kB / 363.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.129, allocations: 8.234 kB / 363.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.129, allocations: 7.938 kB / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.129, allocations: 0 / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.129, allocations: 0 / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1292, allocations: 177.5 kB / 363.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1292, allocations: 0 / 363.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.1293, allocations: 11.98 kB / 363.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1293, allocations: 0 / 363.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1293, allocations: 8 kB / 364 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1293, allocations: 0 / 364 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1293, allocations: 4 kB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.1295, allocations: 168.3 kB / 364.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.1296, allocations: 97 kB / 364.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1296, allocations: 4 kB / 364.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.1296, allocations: 4 kB / 364.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.1297, allocations: 0 / 364.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1297, allocations: 3.984 kB / 364.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.909e-05/0.1298, allocations: 107.3 kB / 364.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1298, allocations: 0 / 364.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.13, allocations: 4 kB / 364.3 MB, free: 7.781 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001051/0.1301, allocations: 99.25 kB / 364.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.1303, allocations: 39.91 kB / 364.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.1303, allocations: 4 kB / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.689e-05/0.1303, allocations: 4 kB / 364.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1307, allocations: 26.53 kB / 364.5 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.131, allocations: 209.6 kB / 364.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1313, allocations: 0.6926 MB / 365.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.008e-05/0.1313, allocations: 4.5 kB / 365.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.1314, allocations: 15.44 kB / 365.4 MB, free: 6.629 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1314, allocations: 0 / 365.4 MB, free: 6.629 MB / 302.1 MB Notification: Performance of Templates: time 0.002523/0.1339, allocations: 481.4 kB / 365.9 MB, free: 6.16 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches