Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00196/0.00196, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002708/0.002708, allocations: 203 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2686/0.2686, allocations: 46.93 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002664/0.002664, allocations: 83.8 kB / 0.4967 GB, free: 6.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4494, allocations: 66.09 MB / 0.5613 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003793/0.4532, allocations: 1.868 MB / 0.5631 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.4555, allocations: 1.08 MB / 0.5641 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.4556, allocations: 0 / 0.5641 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.4561, allocations: 219.4 kB / 0.5643 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000549/0.4566, allocations: 223.2 kB / 0.5646 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.457, allocations: 119.6 kB / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.4574, allocations: 263.2 kB / 0.5649 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.4575, allocations: 13.97 kB / 0.5649 GB, free: 132 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.4577, allocations: 123.5 kB / 0.5651 GB, free: 8 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.4579, allocations: 167.4 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.458, allocations: 12 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.4581, allocations: 63.97 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.924e-05/0.4582, allocations: 63.7 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.4584, allocations: 71.47 kB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.4588, allocations: 249.2 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4588, allocations: 0 / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4588, allocations: 4 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4588, allocations: 0 / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008545/0.4597, allocations: 0.5002 MB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4597, allocations: 8.031 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.4598, allocations: 28.75 kB / 0.5662 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.4602, allocations: 226.5 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.4602, allocations: 12.36 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.4602, allocations: 8.375 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.4605, allocations: 115.6 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.4605, allocations: 4 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.4605, allocations: 4 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.4606, allocations: 4 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.4607, allocations: 47.95 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.4613, allocations: 420.4 kB / 0.567 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.4617, allocations: 125.2 kB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.4619, allocations: 41.83 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.4619, allocations: 4 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.4622, allocations: 121.1 kB / 0.5673 GB, free: 13.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.4622, allocations: 3.938 kB / 0.5673 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001468/0.4637, allocations: 0.5093 MB / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.4637, allocations: 88.98 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.4643, allocations: 456.4 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.4643, allocations: 37.7 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.4644, allocations: 164.5 kB / 0.5685 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.716e-05/0.4645, allocations: 71.41 kB / 0.5685 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.4646, allocations: 45.7 kB / 0.5686 GB, free: 12.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4648, allocations: 342.8 kB / 0.5689 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.4649, allocations: 59.97 kB / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.4651, allocations: 96.64 kB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.4654, allocations: 167.4 kB / 0.5692 GB, free: 11.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4654, allocations: 7.938 kB / 0.5692 GB, free: 11.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004838/0.4659, allocations: 233.3 kB / 0.5695 GB, free: 11.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.4659, allocations: 8 kB / 0.5695 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4659, allocations: 3.984 kB / 0.5695 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.4659, allocations: 4 kB / 0.5695 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.4661, allocations: 43.86 kB / 0.5695 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.4661, allocations: 4 kB / 0.5695 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.4662, allocations: 11.95 kB / 0.5695 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.4662, allocations: 16.05 kB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.4665, allocations: 166.2 kB / 0.5697 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.4665, allocations: 31.81 kB / 0.5697 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005902/0.4671, allocations: 280.3 kB / 0.57 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4671, allocations: 7.938 kB / 0.57 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.4671, allocations: 0 / 0.57 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4671, allocations: 0 / 0.57 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.4682, allocations: 0.6801 MB / 0.5707 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4682, allocations: 0 / 0.5707 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.4683, allocations: 39.92 kB / 0.5707 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.4683, allocations: 0 / 0.5707 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.4684, allocations: 4 kB / 0.5707 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/0.4684, allocations: 8.172 kB / 0.5707 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4684, allocations: 0 / 0.5707 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.469, allocations: 453.7 kB / 0.5712 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.469, allocations: 27.77 kB / 0.5712 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.4691, allocations: 12.09 kB / 0.5712 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.4692, allocations: 11.98 kB / 0.5712 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.4693, allocations: 23.91 kB / 0.5712 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.4693, allocations: 8 kB / 0.5712 GB, free: 9.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004259/0.4697, allocations: 339 kB / 0.5716 GB, free: 9.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4697, allocations: 3.938 kB / 0.5716 GB, free: 9.012 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003917/0.4701, allocations: 55.92 kB / 0.5716 GB, free: 8.957 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002231/0.4724, allocations: 0.5431 MB / 0.5721 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.4728, allocations: 159.8 kB / 0.5723 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4728, allocations: 4 kB / 0.5723 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.473, allocations: 79.78 kB / 0.5724 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005952/0.4736, allocations: 57.39 kB / 0.5724 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.4747, allocations: 0.5666 MB / 0.573 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.4749, allocations: 174.4 kB / 0.5731 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.4751, allocations: 49.84 kB / 0.5732 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.4752, allocations: 23.44 kB / 0.5732 GB, free: 7.441 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4752, allocations: 4 kB / 0.5732 GB, free: 7.438 MB / 414.1 MB Notification: Performance of Templates: time 0.009206/0.4844, allocations: 3.554 MB / 0.5767 GB, free: 3.926 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5496727749705315]