Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 197.7 kB / 16.79 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 226.5 MB / 244.1 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008601/0.00086, allocations: 99.59 kB / 296.1 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3447/0.3447, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.000298, allocations: 12 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3463, allocations: 62.95 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.4578, allocations: 91.56 MB / 0.6059 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.458, allocations: 75.95 kB / 0.606 GB, free: 13.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01397/0.472, allocations: 5.188 MB / 0.611 GB, free: 8.562 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4721, allocations: 0 / 0.611 GB, free: 8.562 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.4721, allocations: 8 kB / 0.611 GB, free: 8.555 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006089/0.4727, allocations: 496.7 kB / 0.6115 GB, free: 8.012 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.4728, allocations: 12.03 kB / 0.6115 GB, free: 8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.4728, allocations: 20.75 kB / 0.6115 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.4731, allocations: 245.5 kB / 0.6118 GB, free: 7.699 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.4732, allocations: 8.375 kB / 0.6118 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.4732, allocations: 4.375 kB / 0.6118 GB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.4735, allocations: 106.5 kB / 0.6119 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4735, allocations: 192 / 0.6119 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.4735, allocations: 7.938 kB / 0.6119 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.4735, allocations: 8 kB / 0.6119 GB, free: 7.555 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.4737, allocations: 59.84 kB / 0.612 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.4743, allocations: 0.5282 MB / 0.6125 GB, free: 6.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.4746, allocations: 82.67 kB / 0.6126 GB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.4747, allocations: 56.83 kB / 0.6126 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.4747, allocations: 0 / 0.6126 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.4749, allocations: 83.31 kB / 0.6127 GB, free: 6.668 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.4749, allocations: 0 / 0.6127 GB, free: 6.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003789/0.4753, allocations: 157.4 kB / 0.6128 GB, free: 6.508 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.4754, allocations: 55.39 kB / 0.6129 GB, free: 6.441 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.4755, allocations: 194.9 kB / 0.6131 GB, free: 6.246 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.4756, allocations: 25.7 kB / 0.6131 GB, free: 6.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.4756, allocations: 119.9 kB / 0.6132 GB, free: 6.094 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.4757, allocations: 28.02 kB / 0.6133 GB, free: 6.066 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.4757, allocations: 0 / 0.6133 GB, free: 6.066 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4758, allocations: 330.8 kB / 0.6136 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.4759, allocations: 39.97 kB / 0.6136 GB, free: 5.695 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.476, allocations: 68.22 kB / 0.6137 GB, free: 5.613 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.4762, allocations: 105.2 kB / 0.6138 GB, free: 5.496 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4762, allocations: 0 / 0.6138 GB, free: 5.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002634/0.4765, allocations: 145.4 kB / 0.6139 GB, free: 5.348 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4765, allocations: 10.5 kB / 0.6139 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.4765, allocations: 7.969 kB / 0.6139 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.4765, allocations: 0 / 0.6139 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.4766, allocations: 20 kB / 0.6139 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.4767, allocations: 11.92 kB / 0.614 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.4767, allocations: 15.84 kB / 0.614 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.4768, allocations: 7.938 kB / 0.614 GB, free: 5.277 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 9.464e-05/0.4769, allocations: 129.9 kB / 0.6141 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.4769, allocations: 15.8 kB / 0.6141 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.4772, allocations: 139 kB / 0.6143 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.4772, allocations: 0 / 0.6143 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4772, allocations: 0 / 0.6143 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4772, allocations: 0 / 0.6143 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.4774, allocations: 221.5 kB / 0.6145 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4774, allocations: 4 kB / 0.6145 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.213e-05/0.4775, allocations: 12 kB / 0.6145 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4775, allocations: 4.125 kB / 0.6145 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4775, allocations: 3.984 kB / 0.6145 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4775, allocations: 7.875 kB / 0.6145 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4776, allocations: 4 kB / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.4779, allocations: 204.7 kB / 0.6147 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.478, allocations: 100.9 kB / 0.6148 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.4781, allocations: 0 / 0.6148 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.4781, allocations: 11.98 kB / 0.6148 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.4782, allocations: 7.984 kB / 0.6148 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.4782, allocations: 4 kB / 0.6148 GB, free: 4.328 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.4783, allocations: 155.5 kB / 0.615 GB, free: 4.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4783, allocations: 4.062 kB / 0.615 GB, free: 4.176 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.4786, allocations: 32.12 kB / 0.615 GB, free: 4.145 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009381/0.4795, allocations: 422.2 kB / 0.6154 GB, free: 3.871 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.4798, allocations: 87.83 kB / 0.6155 GB, free: 3.785 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4798, allocations: 256 / 0.6155 GB, free: 3.785 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.4799, allocations: 47.97 kB / 0.6155 GB, free: 3.738 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.4802, allocations: 36.17 kB / 0.6156 GB, free: 3.707 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.4808, allocations: 325.8 kB / 0.6159 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.4811, allocations: 0.7165 MB / 0.6166 GB, free: 2.621 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.4811, allocations: 15.44 kB / 0.6166 GB, free: 2.605 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4811, allocations: 4 kB / 0.6166 GB, free: 2.602 MB / 426.7 MB Notification: Performance of Templates: time 0.003812/0.4849, allocations: 2.224 MB / 0.6188 GB, free: 396 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches