Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008966/0.0008967, allocations: 175.5 kB / 16.76 MB, free: 5.027 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.6/1.6, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0007961/0.0007961, allocations: 90.41 kB / 271.3 MB, free: 8.238 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.3713/0.3713, allocations: 43.55 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003799, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.392/0.5336, allocations: 87.75 MB / 0.5657 GB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.534, allocations: 71.97 kB / 0.5657 GB, free: 14.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01601/0.55, allocations: 5.686 MB / 0.5713 GB, free: 8.527 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.55, allocations: 0 / 0.5713 GB, free: 8.527 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.5501, allocations: 4 kB / 0.5713 GB, free: 8.523 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.0005839/0.5506, allocations: 441.8 kB / 0.5717 GB, free: 8.043 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5507, allocations: 8.031 kB / 0.5717 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.5507, allocations: 20.73 kB / 0.5717 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.5511, allocations: 233.9 kB / 0.572 GB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.5511, allocations: 4.375 kB / 0.572 GB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.5511, allocations: 6.25 kB / 0.572 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.5513, allocations: 59.42 kB / 0.572 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5513, allocations: 4.094 kB / 0.572 GB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.5513, allocations: 7.938 kB / 0.572 GB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.5513, allocations: 3.984 kB / 0.572 GB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.385e-05/0.5514, allocations: 19.98 kB / 0.5721 GB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.5519, allocations: 304.8 kB / 0.5723 GB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.552, allocations: 66.61 kB / 0.5724 GB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.835e-05/0.5521, allocations: 20.86 kB / 0.5724 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.5521, allocations: 3.938 kB / 0.5724 GB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.5523, allocations: 72.19 kB / 0.5725 GB, free: 7.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.5523, allocations: 0 / 0.5725 GB, free: 7.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005681/0.5529, allocations: 185.5 kB / 0.5727 GB, free: 6.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.5529, allocations: 55.34 kB / 0.5727 GB, free: 6.859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.5532, allocations: 247.7 kB / 0.573 GB, free: 6.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.5533, allocations: 29.7 kB / 0.573 GB, free: 6.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.5533, allocations: 116 kB / 0.5731 GB, free: 6.453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.5534, allocations: 27.72 kB / 0.5731 GB, free: 6.426 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.5534, allocations: 0 / 0.5731 GB, free: 6.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5536, allocations: 334.8 kB / 0.5735 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-05/0.5536, allocations: 22.23 kB / 0.5735 GB, free: 6.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-05/0.5537, allocations: 37.7 kB / 0.5735 GB, free: 6.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.5538, allocations: 57.7 kB / 0.5736 GB, free: 5.965 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.5538, allocations: 3.938 kB / 0.5736 GB, free: 5.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002043/0.554, allocations: 109.6 kB / 0.5737 GB, free: 5.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5541, allocations: 8 kB / 0.5737 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5541, allocations: 8.031 kB / 0.5737 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.5541, allocations: 0 / 0.5737 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.5542, allocations: 15.94 kB / 0.5737 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5542, allocations: 4 kB / 0.5737 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.5543, allocations: 3.984 kB / 0.5737 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.5543, allocations: 4 kB / 0.5737 GB, free: 5.805 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 0.0001306/0.5544, allocations: 140.6 kB / 0.5739 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.5544, allocations: 15.81 kB / 0.5739 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.5547, allocations: 127.1 kB / 0.574 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5547, allocations: 4 kB / 0.574 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5547, allocations: 0 / 0.574 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5547, allocations: 0 / 0.574 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.5552, allocations: 443.1 kB / 0.5744 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5553, allocations: 0 / 0.5744 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.5553, allocations: 15.98 kB / 0.5744 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.5553, allocations: 4.031 kB / 0.5744 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.5553, allocations: 0 / 0.5744 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.5553, allocations: 4 kB / 0.5744 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5553, allocations: 3.938 kB / 0.5744 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.5556, allocations: 212.1 kB / 0.5746 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.5557, allocations: 105 kB / 0.5747 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.5557, allocations: 0 / 0.5747 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.5558, allocations: 12 kB / 0.5748 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.5558, allocations: 15.86 kB / 0.5748 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.5559, allocations: 4 kB / 0.5748 GB, free: 4.613 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001887/0.556, allocations: 195.3 kB / 0.575 GB, free: 4.422 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5561, allocations: 4 kB / 0.575 GB, free: 4.418 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000269/0.5563, allocations: 43.84 kB / 0.575 GB, free: 4.375 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.001045/0.5574, allocations: 473.4 kB / 0.5755 GB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.5576, allocations: 67.8 kB / 0.5755 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5576, allocations: 0 / 0.5755 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.5577, allocations: 35.92 kB / 0.5756 GB, free: 3.902 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.558, allocations: 33.83 kB / 0.5756 GB, free: 3.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.5586, allocations: 313.2 kB / 0.5759 GB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.5589, allocations: 0.7199 MB / 0.5766 GB, free: 2.797 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.739e-05/0.559, allocations: 16.55 kB / 0.5766 GB, free: 2.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.559, allocations: 27.42 kB / 0.5766 GB, free: 2.754 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.559, allocations: 0 / 0.5766 GB, free: 2.754 MB / 394.7 MB Notification: Performance of Templates: time 0.004521/0.5636, allocations: 1.834 MB / 0.5784 GB, free: 0.9336 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches