Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009193/0.0009192, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.418/1.418, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008668/0.0008669, allocations: 91.81 kB / 267 MB, free: 9.281 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.324/0.324, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.997e-05/4e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1293, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.5241, allocations: 87.67 MB / 0.5584 GB, free: 16.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.5244, allocations: 75.3 kB / 0.5585 GB, free: 16.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01405/0.5385, allocations: 5.658 MB / 0.564 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5385, allocations: 0 / 0.564 GB, free: 13.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.5386, allocations: 7.281 kB / 0.564 GB, free: 13.36 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.0004662/0.539, allocations: 428.9 kB / 0.5644 GB, free: 12.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5391, allocations: 16.03 kB / 0.5645 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.5391, allocations: 20.98 kB / 0.5645 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.5395, allocations: 234.8 kB / 0.5647 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.5395, allocations: 9.906 kB / 0.5647 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.5396, allocations: 7.5 kB / 0.5647 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.5397, allocations: 92.75 kB / 0.5648 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5398, allocations: 4 kB / 0.5648 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.5398, allocations: 5.375 kB / 0.5648 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5398, allocations: 0 / 0.5648 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.307e-05/0.5399, allocations: 30.75 kB / 0.5648 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.5401, allocations: 219 kB / 0.565 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.5403, allocations: 103 kB / 0.5651 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.5403, allocations: 38.22 kB / 0.5652 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.5404, allocations: 0 / 0.5652 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.5405, allocations: 111.6 kB / 0.5653 GB, free: 12.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.5405, allocations: 4 kB / 0.5653 GB, free: 12.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000268/0.5408, allocations: 135 kB / 0.5654 GB, free: 11.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.5409, allocations: 131.7 kB / 0.5655 GB, free: 11.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.5411, allocations: 197.4 kB / 0.5657 GB, free: 11.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.5411, allocations: 33.64 kB / 0.5658 GB, free: 11.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.5411, allocations: 108.3 kB / 0.5659 GB, free: 11.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.5412, allocations: 30.8 kB / 0.5659 GB, free: 11.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.5412, allocations: 7.5 kB / 0.5659 GB, free: 11.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.5412, allocations: 335.8 kB / 0.5662 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.5413, allocations: 26.62 kB / 0.5663 GB, free: 11.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.5414, allocations: 65.14 kB / 0.5663 GB, free: 11.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.358e-05/0.5414, allocations: 34.36 kB / 0.5663 GB, free: 11.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5414, allocations: 0 / 0.5663 GB, free: 11.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001587/0.5416, allocations: 132.4 kB / 0.5665 GB, free: 10.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5416, allocations: 9.094 kB / 0.5665 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5416, allocations: 3.984 kB / 0.5665 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.5416, allocations: 0 / 0.5665 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.5418, allocations: 27.92 kB / 0.5665 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.5418, allocations: 0.9375 kB / 0.5665 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.5418, allocations: 11.98 kB / 0.5665 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.5419, allocations: 7.438 kB / 0.5665 GB, free: 10.9 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 6.285e-05/0.5419, allocations: 121.8 kB / 0.5666 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.542, allocations: 15.81 kB / 0.5667 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.5422, allocations: 166.3 kB / 0.5668 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5422, allocations: 3.938 kB / 0.5668 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5422, allocations: 4 kB / 0.5668 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5422, allocations: 0 / 0.5668 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.5424, allocations: 224.4 kB / 0.567 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5424, allocations: 4 kB / 0.567 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.5424, allocations: 11.94 kB / 0.5671 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5424, allocations: 4 kB / 0.5671 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.5424, allocations: 7.984 kB / 0.5671 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5424, allocations: 0 / 0.5671 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5425, allocations: 3.984 kB / 0.5671 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.5427, allocations: 183.4 kB / 0.5672 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.5427, allocations: 96.66 kB / 0.5673 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.5427, allocations: 11.19 kB / 0.5674 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.5428, allocations: 7.984 kB / 0.5674 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.5429, allocations: 14.8 kB / 0.5674 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.5429, allocations: 4 kB / 0.5674 GB, free: 10.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.543, allocations: 166 kB / 0.5675 GB, free: 9.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.543, allocations: 3.938 kB / 0.5675 GB, free: 9.891 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.5433, allocations: 42.94 kB / 0.5676 GB, free: 9.852 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * 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.0008256/0.5441, allocations: 424.6 kB / 0.568 GB, free: 9.508 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.5443, allocations: 82.86 kB / 0.5681 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5443, allocations: 0 / 0.5681 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.192e-05/0.5443, allocations: 41.88 kB / 0.5681 GB, free: 9.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.5446, allocations: 50.98 kB / 0.5682 GB, free: 9.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.545, allocations: 188.2 kB / 0.5683 GB, free: 9.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.5451, allocations: 0.7243 MB / 0.569 GB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.409e-05/0.5452, allocations: 37.23 kB / 0.5691 GB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.5453, allocations: 23.42 kB / 0.5691 GB, free: 8.391 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5453, allocations: 3.938 kB / 0.5691 GB, free: 8.387 MB / 394.7 MB Notification: Performance of Templates: time 0.004514/0.5498, allocations: 2.554 MB / 0.5716 GB, free: 5.852 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches