Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 183.2 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.375/1.375, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008046/0.0008045, allocations: 90.55 kB / 267 MB, free: 9.273 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.3872/0.3872, allocations: 43.46 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.054e-05, allocations: 8 kB / 425.3 MB, free: 8.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 58.86 MB / 484.2 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3418/0.4566, allocations: 87.45 MB / 0.5582 GB, free: 1.555 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.4568, allocations: 79.34 kB / 0.5583 GB, free: 1.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01292/0.4697, allocations: 5.214 MB / 0.5634 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4698, allocations: 0 / 0.5634 GB, free: 12.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.4698, allocations: 0.6562 kB / 0.5634 GB, free: 12.3 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.0004395/0.4703, allocations: 400 kB / 0.5638 GB, free: 11.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4703, allocations: 8.031 kB / 0.5638 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.4704, allocations: 11.34 kB / 0.5638 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.4707, allocations: 215.7 kB / 0.564 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4707, allocations: 0 / 0.564 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.4707, allocations: 4 kB / 0.564 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.4708, allocations: 45.67 kB / 0.564 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.4708, allocations: 0 / 0.564 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4709, allocations: 4 kB / 0.564 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4709, allocations: 1.375 kB / 0.564 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.4709, allocations: 23.92 kB / 0.5641 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.4711, allocations: 185.5 kB / 0.5642 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.897e-05/0.4712, allocations: 54.61 kB / 0.5643 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.4713, allocations: 16.86 kB / 0.5643 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.4713, allocations: 4 kB / 0.5643 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.4714, allocations: 63.48 kB / 0.5644 GB, free: 11.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.4714, allocations: 3.938 kB / 0.5644 GB, free: 11.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002047/0.4716, allocations: 73.59 kB / 0.5644 GB, free: 11.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.4717, allocations: 51.41 kB / 0.5645 GB, free: 11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.4719, allocations: 177.3 kB / 0.5647 GB, free: 10.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.4719, allocations: 29.64 kB / 0.5647 GB, free: 10.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.4719, allocations: 100.1 kB / 0.5648 GB, free: 10.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.472, allocations: 23.73 kB / 0.5648 GB, free: 10.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.472, allocations: 0 / 0.5648 GB, free: 10.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4721, allocations: 323.7 kB / 0.5651 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.4722, allocations: 12 kB / 0.5651 GB, free: 10.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.4722, allocations: 21.72 kB / 0.5652 GB, free: 10.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/0.4722, allocations: 23.94 kB / 0.5652 GB, free: 10.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4723, allocations: 7.938 kB / 0.5652 GB, free: 10.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001188/0.4724, allocations: 73.59 kB / 0.5653 GB, free: 10.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4724, allocations: 4 kB / 0.5653 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.4724, allocations: 128 / 0.5653 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4724, allocations: 4 kB / 0.5653 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.4725, allocations: 20.88 kB / 0.5653 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4725, allocations: 3.984 kB / 0.5653 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.177e-05/0.4726, allocations: 4 kB / 0.5653 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.4726, allocations: 0 / 0.5653 GB, free: 10.15 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 6.846e-05/0.4727, allocations: 114.1 kB / 0.5654 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.4727, allocations: 15.81 kB / 0.5654 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.4729, allocations: 89.77 kB / 0.5655 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4729, allocations: 0 / 0.5655 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4729, allocations: 3.984 kB / 0.5655 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4729, allocations: 0 / 0.5655 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.473, allocations: 189.6 kB / 0.5657 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.473, allocations: 3.953 kB / 0.5657 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.4731, allocations: 7.938 kB / 0.5657 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4731, allocations: 4 kB / 0.5657 GB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4731, allocations: 4 kB / 0.5657 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4731, allocations: 0 / 0.5657 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4731, allocations: 0 / 0.5657 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.4732, allocations: 109 kB / 0.5658 GB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.4733, allocations: 88.97 kB / 0.5659 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.4733, allocations: 7.984 kB / 0.5659 GB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.043e-05/0.4734, allocations: 4 kB / 0.5659 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.4734, allocations: 4 kB / 0.5659 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.4734, allocations: 4 kB / 0.5659 GB, free: 9.418 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.4736, allocations: 148.1 kB / 0.5661 GB, free: 9.273 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4736, allocations: 0 / 0.5661 GB, free: 9.273 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.4738, allocations: 23.94 kB / 0.5661 GB, free: 9.25 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.0007816/0.4746, allocations: 376 kB / 0.5664 GB, free: 8.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.4747, allocations: 39.98 kB / 0.5665 GB, free: 8.914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4747, allocations: 0 / 0.5665 GB, free: 8.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.232e-05/0.4747, allocations: 32 kB / 0.5665 GB, free: 8.883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.4749, allocations: 31.39 kB / 0.5665 GB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.4752, allocations: 135.6 kB / 0.5667 GB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.4755, allocations: 0.7082 MB / 0.5674 GB, free: 7.969 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.4755, allocations: 16.41 kB / 0.5674 GB, free: 7.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.4756, allocations: 19.38 kB / 0.5674 GB, free: 7.934 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4756, allocations: 4 kB / 0.5674 GB, free: 7.93 MB / 394.7 MB Notification: Performance of Templates: time 0.003417/0.479, allocations: 1.462 MB / 0.5688 GB, free: 6.473 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches