Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 177.6 kB / 8.002 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.752/1.752, allocations: 205.3 MB / 213.7 MB, free: 1.664 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.000908/0.0009081, allocations: 90.16 kB / 261.7 MB, free: 1.613 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.2137/0.2137, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.063e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1316, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/0.5629, allocations: 87.95 MB / 0.5518 GB, free: 7.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.5632, allocations: 73.53 kB / 0.5519 GB, free: 7.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009829/0.573, allocations: 4.183 MB / 0.556 GB, free: 3.926 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.573, allocations: 0 / 0.556 GB, free: 3.926 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.5731, allocations: 11.91 kB / 0.556 GB, free: 3.918 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004235/0.5735, allocations: 462.8 kB / 0.5564 GB, free: 3.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.5735, allocations: 8.031 kB / 0.5564 GB, free: 3.422 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.5736, allocations: 11.91 kB / 0.5565 GB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.5739, allocations: 230.2 kB / 0.5567 GB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5739, allocations: 3.938 kB / 0.5567 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.5739, allocations: 15.98 kB / 0.5567 GB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.496e-05/0.574, allocations: 23.75 kB / 0.5567 GB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.5742, allocations: 95.61 kB / 0.5568 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5742, allocations: 3.984 kB / 0.5568 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5742, allocations: 0 / 0.5568 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5742, allocations: 0 / 0.5568 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.5747, allocations: 0.4883 MB / 0.5573 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.5749, allocations: 73.92 kB / 0.5574 GB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.575, allocations: 36.36 kB / 0.5574 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.575, allocations: 3.938 kB / 0.5574 GB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.5751, allocations: 79.02 kB / 0.5575 GB, free: 2.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.5751, allocations: 0 / 0.5575 GB, free: 2.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002137/0.5754, allocations: 104.9 kB / 0.5576 GB, free: 2.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.5754, allocations: 55.41 kB / 0.5576 GB, free: 2.188 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.5755, allocations: 173.5 kB / 0.5578 GB, free: 2.027 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.5755, allocations: 29.7 kB / 0.5578 GB, free: 1.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.5756, allocations: 111.2 kB / 0.5579 GB, free: 1.898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.5756, allocations: 35.23 kB / 0.558 GB, free: 1.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.5756, allocations: 3.938 kB / 0.558 GB, free: 1.863 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.5757, allocations: 322.8 kB / 0.5583 GB, free: 1.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.5757, allocations: 19.69 kB / 0.5583 GB, free: 1.531 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.582e-05/0.5758, allocations: 59.53 kB / 0.5583 GB, free: 1.469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.5758, allocations: 23.81 kB / 0.5584 GB, free: 1.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5758, allocations: 0 / 0.5584 GB, free: 1.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001389/0.576, allocations: 112.9 kB / 0.5585 GB, free: 1.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.576, allocations: 4 kB / 0.5585 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.576, allocations: 3.938 kB / 0.5585 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.576, allocations: 8.125 kB / 0.5585 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.5761, allocations: 27.73 kB / 0.5585 GB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.5762, allocations: 3.953 kB / 0.5585 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/0.5762, allocations: 15.92 kB / 0.5585 GB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.5762, allocations: 4 kB / 0.5585 GB, free: 1.289 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.879e-05/0.5763, allocations: 105 kB / 0.5586 GB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.5763, allocations: 16 kB / 0.5587 GB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.5765, allocations: 122.3 kB / 0.5588 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5765, allocations: 0 / 0.5588 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5765, allocations: 4 kB / 0.5588 GB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5765, allocations: 7.938 kB / 0.5588 GB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.5767, allocations: 181.5 kB / 0.559 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5767, allocations: 0 / 0.559 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.5768, allocations: 12 kB / 0.559 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5768, allocations: 4 kB / 0.559 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.5768, allocations: 0 / 0.559 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5768, allocations: 0 / 0.559 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5768, allocations: 7.984 kB / 0.559 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.577, allocations: 159.7 kB / 0.5591 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.577, allocations: 96.88 kB / 0.5592 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.5771, allocations: 4 kB / 0.5592 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.376e-05/0.5771, allocations: 4 kB / 0.5592 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.5772, allocations: 7.984 kB / 0.5592 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.5772, allocations: 7.688 kB / 0.5592 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.592e-05/0.5773, allocations: 135.2 kB / 0.5594 GB, free: 448 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5773, allocations: 3.938 kB / 0.5594 GB, free: 444 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.5775, allocations: 32 kB / 0.5594 GB, free: 416 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007205/0.5782, allocations: 353.1 kB / 0.5597 GB, free: 116 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.5784, allocations: 67.36 kB / 0.5598 GB, free: 64 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5784, allocations: 0 / 0.5598 GB, free: 64 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.5785, allocations: 35.06 kB / 0.5598 GB, free: 40 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.5787, allocations: 36.05 kB / 0.5599 GB, free: 4 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.5792, allocations: 182.4 kB / 0.5601 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.5795, allocations: 0.7203 MB / 0.5608 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.861e-05/0.5796, allocations: 17.19 kB / 0.5608 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.5796, allocations: 15.44 kB / 0.5608 GB, free: 15.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5796, allocations: 4.375 kB / 0.5608 GB, free: 15.04 MB / 378.7 MB Notification: Performance of Templates: time 0.004355/0.584, allocations: 1.722 MB / 0.5625 GB, free: 13.33 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches