Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 184 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.319/1.319, allocations: 205.2 MB / 218.9 MB, free: 9.137 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.0007899/0.0007899, allocations: 92.41 kB / 267.1 MB, free: 9.266 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.3555/0.3555, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/2.996e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 58.86 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3298/0.4311, allocations: 87.41 MB / 0.5582 GB, free: 16.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.4314, allocations: 74.67 kB / 0.5583 GB, free: 16.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01205/0.4434, allocations: 5.25 MB / 0.5634 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4435, allocations: 0 / 0.5634 GB, free: 13.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.4435, allocations: 7.938 kB / 0.5634 GB, free: 13.53 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003146/0.4438, allocations: 397.8 kB / 0.5638 GB, free: 13.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.4438, allocations: 8.031 kB / 0.5638 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.4439, allocations: 11.34 kB / 0.5638 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.4442, allocations: 218.5 kB / 0.564 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.4442, allocations: 7.562 kB / 0.564 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.4442, allocations: 1.453 kB / 0.564 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.4443, allocations: 47.67 kB / 0.5641 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.4443, allocations: 4 kB / 0.5641 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.4443, allocations: 0 / 0.5641 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4444, allocations: 1.375 kB / 0.5641 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.543e-05/0.4444, allocations: 13.25 kB / 0.5641 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.4446, allocations: 190.8 kB / 0.5643 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.108e-05/0.4447, allocations: 52.7 kB / 0.5643 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.4447, allocations: 17.55 kB / 0.5643 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.4447, allocations: 9.312 kB / 0.5643 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.4448, allocations: 60.2 kB / 0.5644 GB, free: 12.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/0.4449, allocations: 0 / 0.5644 GB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001724/0.445, allocations: 84.34 kB / 0.5645 GB, free: 12.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.4451, allocations: 59.34 kB / 0.5645 GB, free: 12.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.4452, allocations: 193.5 kB / 0.5647 GB, free: 12.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.4452, allocations: 25.7 kB / 0.5647 GB, free: 12.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.4453, allocations: 107.2 kB / 0.5648 GB, free: 12.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.4453, allocations: 16.45 kB / 0.5648 GB, free: 12.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.4453, allocations: 0 / 0.5648 GB, free: 12.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.375e-05/0.4454, allocations: 323.4 kB / 0.5652 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.4454, allocations: 14.11 kB / 0.5652 GB, free: 11.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.4454, allocations: 26.78 kB / 0.5652 GB, free: 11.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.4455, allocations: 17.22 kB / 0.5652 GB, free: 11.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4455, allocations: 8 kB / 0.5652 GB, free: 11.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.85e-05/0.4456, allocations: 84.22 kB / 0.5653 GB, free: 11.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.4456, allocations: 6.812 kB / 0.5653 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.4456, allocations: 4 kB / 0.5653 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.4456, allocations: 0 / 0.5653 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.4457, allocations: 12.69 kB / 0.5653 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.4457, allocations: 0 / 0.5653 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.4458, allocations: 5.594 kB / 0.5653 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4458, allocations: 4 kB / 0.5653 GB, free: 11.59 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 (7): * Single equations (assignments): 7 * 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 5.049e-05/0.4458, allocations: 115.7 kB / 0.5654 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.4459, allocations: 11.91 kB / 0.5655 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.446, allocations: 93.45 kB / 0.5655 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.446, allocations: 0 / 0.5655 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.446, allocations: 7.984 kB / 0.5656 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.446, allocations: 1.453 kB / 0.5656 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.4461, allocations: 195.8 kB / 0.5657 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4462, allocations: 3.953 kB / 0.5657 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.4462, allocations: 10.88 kB / 0.5658 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4462, allocations: 0 / 0.5658 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.4462, allocations: 5.594 kB / 0.5658 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4462, allocations: 0 / 0.5658 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4462, allocations: 0 / 0.5658 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.4463, allocations: 111.1 kB / 0.5659 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.4464, allocations: 104.5 kB / 0.566 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.4464, allocations: 3.5 kB / 0.566 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.4465, allocations: 9.578 kB / 0.566 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.4465, allocations: 10.27 kB / 0.566 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4465, allocations: 0 / 0.566 GB, free: 10.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.4466, allocations: 160.8 kB / 0.5661 GB, free: 10.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4466, allocations: 0 / 0.5661 GB, free: 10.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.4468, allocations: 23.62 kB / 0.5662 GB, free: 10.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007142/0.4476, allocations: 368.3 kB / 0.5665 GB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.4477, allocations: 46.33 kB / 0.5666 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4477, allocations: 0 / 0.5666 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.443e-05/0.4477, allocations: 20.41 kB / 0.5666 GB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.4479, allocations: 27.61 kB / 0.5666 GB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.4482, allocations: 164.4 kB / 0.5668 GB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.4483, allocations: 0.7114 MB / 0.5675 GB, free: 9.574 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.282e-05/0.4484, allocations: 23.33 kB / 0.5675 GB, free: 9.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.4484, allocations: 15.44 kB / 0.5675 GB, free: 9.539 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4484, allocations: 4 kB / 0.5675 GB, free: 9.535 MB / 394.7 MB Notification: Performance of Templates: time 0.003193/0.4516, allocations: 1.512 MB / 0.569 GB, free: 8.094 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches