Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001091, allocations: 172.2 kB / 16.76 MB, free: 5.062 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.726/1.726, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007703/0.0007704, allocations: 78.31 kB / 271.3 MB, free: 8.246 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.3577/0.3577, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000606/0.0006062, allocations: 16 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1659, allocations: 58.86 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3771/0.5431, allocations: 87.71 MB / 0.5656 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.5434, allocations: 71.97 kB / 0.5657 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01442/0.5578, allocations: 5.41 MB / 0.571 GB, free: 8.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.938e-06/0.5579, allocations: 0 / 0.571 GB, free: 8.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.5579, allocations: 4 kB / 0.571 GB, free: 8.828 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.0006314/0.5585, allocations: 425.9 kB / 0.5714 GB, free: 8.363 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5586, allocations: 8.031 kB / 0.5714 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.5587, allocations: 18.12 kB / 0.5714 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.559, allocations: 229 kB / 0.5716 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.559, allocations: 384 / 0.5716 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.5591, allocations: 4.375 kB / 0.5716 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.5592, allocations: 54.23 kB / 0.5717 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5592, allocations: 192 / 0.5717 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.5593, allocations: 7.922 kB / 0.5717 GB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.5593, allocations: 3.984 kB / 0.5717 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.5593, allocations: 23.92 kB / 0.5717 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.5597, allocations: 296.9 kB / 0.572 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.5599, allocations: 63.48 kB / 0.5721 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.56, allocations: 20.84 kB / 0.5721 GB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.56, allocations: 4 kB / 0.5721 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.5601, allocations: 72.08 kB / 0.5722 GB, free: 7.461 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.5601, allocations: 0 / 0.5722 GB, free: 7.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005739/0.5607, allocations: 181.2 kB / 0.5723 GB, free: 7.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.5608, allocations: 51.41 kB / 0.5724 GB, free: 7.215 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.561, allocations: 212.6 kB / 0.5726 GB, free: 7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.561, allocations: 29.7 kB / 0.5726 GB, free: 6.965 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.5611, allocations: 112 kB / 0.5727 GB, free: 6.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.5611, allocations: 27.69 kB / 0.5727 GB, free: 6.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.5612, allocations: 7.938 kB / 0.5728 GB, free: 6.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5613, allocations: 326.8 kB / 0.5731 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.968e-05/0.5614, allocations: 20 kB / 0.5731 GB, free: 6.469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.5614, allocations: 41.69 kB / 0.5731 GB, free: 6.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.5616, allocations: 57.66 kB / 0.5732 GB, free: 6.359 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5616, allocations: 0 / 0.5732 GB, free: 6.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001849/0.5618, allocations: 101.6 kB / 0.5733 GB, free: 6.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5618, allocations: 4 kB / 0.5733 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5618, allocations: 0 / 0.5733 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5618, allocations: 4 kB / 0.5733 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.5619, allocations: 19.92 kB / 0.5733 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5619, allocations: 0 / 0.5733 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.562, allocations: 8 kB / 0.5733 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.562, allocations: 0 / 0.5733 GB, free: 6.219 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 () * Number of clocked 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 9.508e-05/0.5621, allocations: 137.8 kB / 0.5734 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.5621, allocations: 15.81 kB / 0.5735 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.5624, allocations: 119 kB / 0.5736 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5624, allocations: 0 / 0.5736 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5624, allocations: 0 / 0.5736 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5624, allocations: 0 / 0.5736 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.5629, allocations: 423.2 kB / 0.574 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5629, allocations: 4.031 kB / 0.574 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.563, allocations: 11.98 kB / 0.574 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.563, allocations: 3.938 kB / 0.574 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.563, allocations: 4 kB / 0.574 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.563, allocations: 0 / 0.574 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.563, allocations: 7.875 kB / 0.574 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.5633, allocations: 212.4 kB / 0.5742 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.5633, allocations: 100.9 kB / 0.5743 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.5634, allocations: 4 kB / 0.5743 GB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.5635, allocations: 4 kB / 0.5743 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.5635, allocations: 11.92 kB / 0.5743 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.5635, allocations: 4 kB / 0.5743 GB, free: 5.066 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001481/0.5637, allocations: 160.2 kB / 0.5745 GB, free: 4.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5637, allocations: 0 / 0.5745 GB, free: 4.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.5639, allocations: 35.94 kB / 0.5745 GB, free: 4.875 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) * Number of clocked states: 0 () * 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.00102/0.565, allocations: 481.8 kB / 0.575 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.5652, allocations: 63.91 kB / 0.575 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5652, allocations: 0 / 0.575 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.5652, allocations: 35.98 kB / 0.5751 GB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.5656, allocations: 27.98 kB / 0.5751 GB, free: 4.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.5661, allocations: 277.6 kB / 0.5754 GB, free: 4.074 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.5664, allocations: 0.7043 MB / 0.576 GB, free: 3.344 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.545e-05/0.5665, allocations: 26.02 kB / 0.5761 GB, free: 3.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.5665, allocations: 15.44 kB / 0.5761 GB, free: 3.305 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5665, allocations: 0 / 0.5761 GB, free: 3.305 MB / 394.7 MB Notification: Performance of Templates: time 0.004107/0.5706, allocations: 1.738 MB / 0.5778 GB, free: 1.574 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches