Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009714/0.0009714, allocations: 183.8 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.371/1.371, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008241/0.0008241, allocations: 91.44 kB / 267 MB, free: 9.277 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.3399/0.3399, allocations: 43.46 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.844e-05, allocations: 4 kB / 425.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/0.4521, allocations: 87.58 MB / 0.5583 GB, free: 1.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.4524, allocations: 75.25 kB / 0.5584 GB, free: 1.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01374/0.4661, allocations: 5.279 MB / 0.5636 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4662, allocations: 0.5469 kB / 0.5636 GB, free: 12.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.4662, allocations: 4 kB / 0.5636 GB, free: 12.12 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.0004373/0.4666, allocations: 399.9 kB / 0.564 GB, free: 11.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4667, allocations: 8.031 kB / 0.564 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.4667, allocations: 11.34 kB / 0.564 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.467, allocations: 219.6 kB / 0.5642 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.467, allocations: 0 / 0.5642 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.4671, allocations: 4 kB / 0.5642 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.4672, allocations: 54.55 kB / 0.5642 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4672, allocations: 0 / 0.5642 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.4672, allocations: 5.375 kB / 0.5642 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4672, allocations: 4 kB / 0.5642 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.55e-05/0.4673, allocations: 23.92 kB / 0.5643 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.4677, allocations: 284.9 kB / 0.5645 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.4678, allocations: 54.69 kB / 0.5646 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.4678, allocations: 24.98 kB / 0.5646 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.4679, allocations: 0 / 0.5646 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.468, allocations: 71.33 kB / 0.5647 GB, free: 10.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.468, allocations: 5.344 kB / 0.5647 GB, free: 10.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000439/0.4685, allocations: 169.1 kB / 0.5648 GB, free: 10.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.4685, allocations: 55.39 kB / 0.5649 GB, free: 10.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.4687, allocations: 169.3 kB / 0.5651 GB, free: 10.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.4687, allocations: 29.7 kB / 0.5651 GB, free: 10.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.4688, allocations: 104.1 kB / 0.5652 GB, free: 10.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.4688, allocations: 19.72 kB / 0.5652 GB, free: 10.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/0.4688, allocations: 0 / 0.5652 GB, free: 10.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.469, allocations: 322.8 kB / 0.5655 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.469, allocations: 20 kB / 0.5655 GB, free: 9.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.671e-05/0.4691, allocations: 34.36 kB / 0.5656 GB, free: 9.879 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.145e-05/0.4691, allocations: 20 kB / 0.5656 GB, free: 9.859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4691, allocations: 4 kB / 0.5656 GB, free: 9.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001479/0.4693, allocations: 106 kB / 0.5657 GB, free: 9.746 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.4693, allocations: 4 kB / 0.5657 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.4693, allocations: 0 / 0.5657 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.4693, allocations: 4.188 kB / 0.5657 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.4694, allocations: 12 kB / 0.5657 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.4695, allocations: 15.81 kB / 0.5657 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.4695, allocations: 4 kB / 0.5657 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.4695, allocations: 4 kB / 0.5657 GB, free: 9.703 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 (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 7.348e-05/0.4696, allocations: 115.6 kB / 0.5658 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.4696, allocations: 11.91 kB / 0.5659 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.4699, allocations: 122.3 kB / 0.566 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4699, allocations: 4 kB / 0.566 GB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4699, allocations: 0 / 0.566 GB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4699, allocations: 3.953 kB / 0.566 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.4704, allocations: 411.2 kB / 0.5664 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4704, allocations: 0 / 0.5664 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.4704, allocations: 11.98 kB / 0.5664 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.4704, allocations: 4 kB / 0.5664 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.4705, allocations: 0 / 0.5664 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4705, allocations: 3.953 kB / 0.5664 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4705, allocations: 0 / 0.5664 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.4707, allocations: 218 kB / 0.5666 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.4708, allocations: 97 kB / 0.5667 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.4708, allocations: 7.891 kB / 0.5667 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.4709, allocations: 4.188 kB / 0.5667 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.4709, allocations: 7.984 kB / 0.5667 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.4709, allocations: 12 kB / 0.5667 GB, free: 8.582 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.4711, allocations: 136.1 kB / 0.5669 GB, free: 8.449 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4711, allocations: 0 / 0.5669 GB, free: 8.449 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000243/0.4713, allocations: 31.98 kB / 0.5669 GB, free: 8.418 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) * 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.0009185/0.4722, allocations: 425.2 kB / 0.5673 GB, free: 8.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.4724, allocations: 59.92 kB / 0.5673 GB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.4724, allocations: 4.062 kB / 0.5673 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.475e-05/0.4725, allocations: 31.92 kB / 0.5674 GB, free: 7.977 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.4727, allocations: 23.98 kB / 0.5674 GB, free: 7.953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.4731, allocations: 172.6 kB / 0.5676 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.4734, allocations: 0.7043 MB / 0.5683 GB, free: 7.027 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.542e-05/0.4735, allocations: 20.92 kB / 0.5683 GB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.4735, allocations: 23.42 kB / 0.5683 GB, free: 6.984 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4735, allocations: 0 / 0.5683 GB, free: 6.984 MB / 394.7 MB Notification: Performance of Templates: time 0.004146/0.4777, allocations: 1.675 MB / 0.5699 GB, free: 5.316 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches