Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 183.3 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.329/1.329, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007818/0.000782, allocations: 89.19 kB / 267 MB, free: 9.273 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.3458/0.3458, allocations: 43.47 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.225e-05, allocations: 7.984 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3435/0.461, allocations: 87.62 MB / 0.5584 GB, free: 1.426 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.4613, allocations: 81.02 kB / 0.5585 GB, free: 1.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.475, allocations: 5.434 MB / 0.5638 GB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4751, allocations: 0 / 0.5638 GB, free: 11.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.4751, allocations: 8 kB / 0.5638 GB, free: 11.95 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000426/0.4755, allocations: 400.1 kB / 0.5641 GB, free: 11.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4756, allocations: 12.03 kB / 0.5642 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.4756, allocations: 11.34 kB / 0.5642 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.4759, allocations: 220.6 kB / 0.5644 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.476, allocations: 0 / 0.5644 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.476, allocations: 4 kB / 0.5644 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.4761, allocations: 53.67 kB / 0.5644 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4761, allocations: 0 / 0.5644 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4761, allocations: 1.375 kB / 0.5644 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4762, allocations: 0 / 0.5644 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.4762, allocations: 23.98 kB / 0.5645 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.4766, allocations: 300.8 kB / 0.5647 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.4767, allocations: 54.69 kB / 0.5648 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.4768, allocations: 16.98 kB / 0.5648 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.4768, allocations: 3.984 kB / 0.5648 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.4769, allocations: 79.33 kB / 0.5649 GB, free: 10.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.4769, allocations: 0 / 0.5649 GB, free: 10.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000432/0.4774, allocations: 153.2 kB / 0.565 GB, free: 10.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.4774, allocations: 55.34 kB / 0.5651 GB, free: 10.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.4776, allocations: 186.4 kB / 0.5653 GB, free: 10.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4776, allocations: 29.7 kB / 0.5653 GB, free: 10.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.4777, allocations: 104 kB / 0.5654 GB, free: 10.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.4777, allocations: 27.64 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.4777, allocations: 8 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4779, allocations: 322.8 kB / 0.5657 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.639e-05/0.4779, allocations: 20 kB / 0.5658 GB, free: 9.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.478, allocations: 31.41 kB / 0.5658 GB, free: 9.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/0.478, allocations: 28.05 kB / 0.5658 GB, free: 9.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.478, allocations: 0 / 0.5658 GB, free: 9.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00014/0.4782, allocations: 97.52 kB / 0.5659 GB, free: 9.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4782, allocations: 8.031 kB / 0.5659 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4782, allocations: 3.984 kB / 0.5659 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4782, allocations: 4 kB / 0.5659 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.4783, allocations: 16 kB / 0.5659 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.4783, allocations: 3.953 kB / 0.5659 GB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.4784, allocations: 4 kB / 0.5659 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.4784, allocations: 7.984 kB / 0.566 GB, free: 9.492 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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 7.242e-05/0.4785, allocations: 111 kB / 0.5661 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.4785, allocations: 15.81 kB / 0.5661 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.4787, allocations: 121.1 kB / 0.5662 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.4787, allocations: 0 / 0.5662 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4787, allocations: 0 / 0.5662 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.4787, allocations: 3.953 kB / 0.5662 GB, free: 9.242 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.4791, allocations: 411.3 kB / 0.5666 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4792, allocations: 0 / 0.5666 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.832e-05/0.4792, allocations: 11.98 kB / 0.5666 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4792, allocations: 4.031 kB / 0.5666 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4792, allocations: 4 kB / 0.5666 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4792, allocations: 3.953 kB / 0.5666 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4792, allocations: 0 / 0.5666 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.4794, allocations: 218.4 kB / 0.5668 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.4795, allocations: 97 kB / 0.5669 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.4795, allocations: 7.953 kB / 0.5669 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.4796, allocations: 4 kB / 0.5669 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.4797, allocations: 11.92 kB / 0.5669 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.4797, allocations: 8.562 kB / 0.5669 GB, free: 8.375 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.4798, allocations: 148.9 kB / 0.5671 GB, free: 8.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4798, allocations: 0 / 0.5671 GB, free: 8.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.4801, allocations: 31.94 kB / 0.5671 GB, free: 8.199 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0008963/0.481, allocations: 428.7 kB / 0.5675 GB, free: 7.852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.4811, allocations: 59.92 kB / 0.5676 GB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4811, allocations: 0 / 0.5676 GB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-05/0.4812, allocations: 28.16 kB / 0.5676 GB, free: 7.766 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.4814, allocations: 32.23 kB / 0.5676 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.4818, allocations: 176.6 kB / 0.5678 GB, free: 7.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.4821, allocations: 0.7082 MB / 0.5685 GB, free: 6.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.811e-05/0.4821, allocations: 12.55 kB / 0.5685 GB, free: 6.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.4822, allocations: 23.44 kB / 0.5685 GB, free: 6.773 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4822, allocations: 0 / 0.5685 GB, free: 6.773 MB / 394.7 MB Notification: Performance of Templates: time 0.003827/0.486, allocations: 1.716 MB / 0.5702 GB, free: 5.066 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches