Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009392/0.0009391, allocations: 171.5 kB / 16.76 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009886/0.0009886, allocations: 85.41 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4007/0.4007, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004008, allocations: 16 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3548/0.4833, allocations: 87.62 MB / 0.5655 GB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.4837, allocations: 77.8 kB / 0.5656 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01732/0.501, allocations: 6.515 MB / 0.572 GB, free: 7.855 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.501, allocations: 0 / 0.572 GB, free: 7.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.638e-05/0.5011, allocations: 11.98 kB / 0.572 GB, free: 7.844 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001114/0.5022, allocations: 0.7177 MB / 0.5727 GB, free: 7.078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5023, allocations: 8.031 kB / 0.5727 GB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.5024, allocations: 52.31 kB / 0.5727 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009308/0.5033, allocations: 0.4998 MB / 0.5732 GB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.5034, allocations: 4.375 kB / 0.5732 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.5034, allocations: 4.375 kB / 0.5732 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.5036, allocations: 91.91 kB / 0.5733 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5036, allocations: 192 / 0.5733 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.5037, allocations: 3.938 kB / 0.5733 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5037, allocations: 4 kB / 0.5733 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.5038, allocations: 35.91 kB / 0.5734 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.5043, allocations: 378.3 kB / 0.5737 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.5046, allocations: 113.2 kB / 0.5738 GB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.5047, allocations: 41.7 kB / 0.5739 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.5047, allocations: 0 / 0.5739 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.505, allocations: 113 kB / 0.574 GB, free: 5.602 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.505, allocations: 0 / 0.574 GB, free: 5.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005392/0.5055, allocations: 205.4 kB / 0.5742 GB, free: 5.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.5056, allocations: 81.11 kB / 0.5743 GB, free: 5.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.5071, allocations: 1.014 MB / 0.5752 GB, free: 4.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.5072, allocations: 29.7 kB / 0.5753 GB, free: 4.238 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.5073, allocations: 228.1 kB / 0.5755 GB, free: 4.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.5074, allocations: 31.55 kB / 0.5755 GB, free: 3.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.5074, allocations: 0 / 0.5755 GB, free: 3.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.5076, allocations: 370.8 kB / 0.5759 GB, free: 3.609 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.591e-05/0.5077, allocations: 27.98 kB / 0.5759 GB, free: 3.582 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.5078, allocations: 63.41 kB / 0.576 GB, free: 3.508 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.508, allocations: 95.41 kB / 0.576 GB, free: 3.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5081, allocations: 0 / 0.576 GB, free: 3.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003526/0.5084, allocations: 165 kB / 0.5762 GB, free: 3.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5084, allocations: 12.69 kB / 0.5762 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5085, allocations: 4.062 kB / 0.5762 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5085, allocations: 0 / 0.5762 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.5086, allocations: 31.92 kB / 0.5763 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5086, allocations: 0 / 0.5763 GB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.5088, allocations: 15.84 kB / 0.5763 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.5088, allocations: 4 kB / 0.5763 GB, free: 3.168 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002411/0.509, allocations: 237.5 kB / 0.5765 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.5091, allocations: 63.16 kB / 0.5766 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.5095, allocations: 201.6 kB / 0.5768 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.5095, allocations: 3.938 kB / 0.5768 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5095, allocations: 4 kB / 0.5768 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5095, allocations: 3.984 kB / 0.5768 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.5099, allocations: 385.3 kB / 0.5771 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5099, allocations: 256 / 0.5771 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-05/0.51, allocations: 12 kB / 0.5771 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.51, allocations: 3.938 kB / 0.5771 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.51, allocations: 4 kB / 0.5771 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.51, allocations: 4 kB / 0.5772 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.51, allocations: 0 / 0.5772 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.5104, allocations: 218.1 kB / 0.5774 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.5107, allocations: 196.3 kB / 0.5775 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.5108, allocations: 7.938 kB / 0.5776 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.5109, allocations: 19.98 kB / 0.5776 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.5109, allocations: 7.984 kB / 0.5776 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.511, allocations: 7.938 kB / 0.5776 GB, free: 1.711 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001017/0.512, allocations: 0.7487 MB / 0.5783 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.512, allocations: 0 / 0.5783 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.5123, allocations: 83.98 kB / 0.5784 GB, free: 0.8828 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009834/0.5133, allocations: 421.7 kB / 0.5788 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.5136, allocations: 87.89 kB / 0.5789 GB, free: 488 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5136, allocations: 4 kB / 0.5789 GB, free: 484 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.5137, allocations: 43.92 kB / 0.5789 GB, free: 440 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.5142, allocations: 66.83 kB / 0.579 GB, free: 376 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.5158, allocations: 1.005 MB / 0.58 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.5163, allocations: 0.8391 MB / 0.5808 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.5165, allocations: 98.86 kB / 0.5809 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.5166, allocations: 39.44 kB / 0.5809 GB, free: 14.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5166, allocations: 0 / 0.5809 GB, free: 14.34 MB / 410.7 MB Notification: Performance of Templates: time 0.009642/0.5262, allocations: 4.614 MB / 0.5854 GB, free: 9.734 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches