Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000862/0.0008617, allocations: 82.31 kB / 261.7 MB, free: 1.625 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.2222/0.2222, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.004e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 58.85 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4274/0.5605, allocations: 86.93 MB / 0.5508 GB, free: 8.039 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.5608, allocations: 79.02 kB / 0.5509 GB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01309/0.5739, allocations: 5.182 MB / 0.556 GB, free: 3.914 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5739, allocations: 0 / 0.556 GB, free: 3.914 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.5739, allocations: 7.938 kB / 0.556 GB, free: 3.906 MB / 362.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.0004748/0.5744, allocations: 384.6 kB / 0.5563 GB, free: 3.492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.5745, allocations: 8.031 kB / 0.5563 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.5746, allocations: 18.72 kB / 0.5564 GB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.5749, allocations: 212.4 kB / 0.5566 GB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.5749, allocations: 4 kB / 0.5566 GB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.575, allocations: 3.906 kB / 0.5566 GB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.91e-05/0.5751, allocations: 20.48 kB / 0.5566 GB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.5752, allocations: 52.86 kB / 0.5566 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5752, allocations: 0 / 0.5566 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.5752, allocations: 0 / 0.5566 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5753, allocations: 0 / 0.5566 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.5756, allocations: 282.4 kB / 0.5569 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.5758, allocations: 45.58 kB / 0.557 GB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.5758, allocations: 22.97 kB / 0.557 GB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.5759, allocations: 0 / 0.557 GB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.576, allocations: 58.47 kB / 0.557 GB, free: 2.734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.576, allocations: 7.938 kB / 0.557 GB, free: 2.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005166/0.5766, allocations: 148.3 kB / 0.5572 GB, free: 2.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.5766, allocations: 51.41 kB / 0.5572 GB, free: 2.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.5768, allocations: 157.4 kB / 0.5574 GB, free: 2.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.5768, allocations: 25.7 kB / 0.5574 GB, free: 2.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.5769, allocations: 97.33 kB / 0.5575 GB, free: 2.277 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.5769, allocations: 26.95 kB / 0.5575 GB, free: 2.254 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.5769, allocations: 0 / 0.5575 GB, free: 2.254 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.405e-05/0.577, allocations: 326.2 kB / 0.5578 GB, free: 1.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.5771, allocations: 18.25 kB / 0.5579 GB, free: 1.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.565e-05/0.5771, allocations: 36.52 kB / 0.5579 GB, free: 1.887 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.727e-05/0.5772, allocations: 21.34 kB / 0.5579 GB, free: 1.875 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5772, allocations: 0 / 0.5579 GB, free: 1.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001784/0.5774, allocations: 91.52 kB / 0.558 GB, free: 1.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5774, allocations: 4 kB / 0.558 GB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5774, allocations: 0 / 0.558 GB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5775, allocations: 8.031 kB / 0.558 GB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.5776, allocations: 12.19 kB / 0.558 GB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.5776, allocations: 3.938 kB / 0.558 GB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.394e-05/0.5777, allocations: 11.92 kB / 0.558 GB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.5777, allocations: 7.953 kB / 0.558 GB, free: 1.746 MB / 362.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.102e-05/0.5778, allocations: 102.7 kB / 0.5581 GB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.5778, allocations: 7.906 kB / 0.5581 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.5781, allocations: 118.6 kB / 0.5583 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5781, allocations: 8 kB / 0.5583 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5781, allocations: 0 / 0.5583 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5781, allocations: 0 / 0.5583 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.5785, allocations: 370.2 kB / 0.5586 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5785, allocations: 0 / 0.5586 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.5786, allocations: 11.98 kB / 0.5586 GB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.5786, allocations: 4 kB / 0.5586 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.5786, allocations: 2.688 kB / 0.5586 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5787, allocations: 4.031 kB / 0.5586 GB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5787, allocations: 0 / 0.5586 GB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.5789, allocations: 209.8 kB / 0.5588 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.5789, allocations: 100.3 kB / 0.5589 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.579, allocations: 3.938 kB / 0.5589 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.5791, allocations: 4.188 kB / 0.5589 GB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.5792, allocations: 19.94 kB / 0.559 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.5792, allocations: 3.5 kB / 0.559 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.5793, allocations: 125.7 kB / 0.5591 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5793, allocations: 0 / 0.5591 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.5798, allocations: 31.23 kB / 0.5591 GB, free: 0.6367 MB / 362.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.00116/0.5809, allocations: 397.6 kB / 0.5595 GB, free: 312 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.5811, allocations: 49.69 kB / 0.5595 GB, free: 276 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5811, allocations: 0 / 0.5595 GB, free: 276 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.731e-05/0.5812, allocations: 33.05 kB / 0.5596 GB, free: 252 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.5816, allocations: 19.42 kB / 0.5596 GB, free: 236 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.582, allocations: 150.1 kB / 0.5597 GB, free: 68 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.5824, allocations: 0.7041 MB / 0.5604 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.712e-05/0.5825, allocations: 16.92 kB / 0.5604 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.5825, allocations: 23.36 kB / 0.5605 GB, free: 15.3 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5825, allocations: 0 / 0.5605 GB, free: 15.3 MB / 378.7 MB Notification: Performance of Templates: time 0.005635/0.5882, allocations: 1.601 MB / 0.562 GB, free: 13.72 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches