Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.001325/0.001325, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001447/0.001447, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.475/1.475, allocations: 230.3 MB / 257.9 MB, free: 8.457 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.2207/0.2207, allocations: 46.89 MB / 361.3 MB, free: 4.516 MB / 286.1 MB " [Timeout remaining time 180] 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002554/0.002554, allocations: 79.86 kB / 0.4971 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3678, allocations: 66.02 MB / 0.5616 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003329/0.3711, allocations: 1.751 MB / 0.5633 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.3729, allocations: 1.045 MB / 0.5643 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.373, allocations: 3.938 kB / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.3734, allocations: 39.83 kB / 0.5644 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.3737, allocations: 111.5 kB / 0.5645 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.374, allocations: 79.66 kB / 0.5646 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.3742, allocations: 99.7 kB / 0.5646 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3743, allocations: 11.98 kB / 0.5647 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3744, allocations: 43.78 kB / 0.5647 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.3745, allocations: 31.8 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.3745, allocations: 4 kB / 0.5647 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3747, allocations: 43.97 kB / 0.5648 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.184e-05/0.3747, allocations: 27.91 kB / 0.5648 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.3748, allocations: 39.69 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.375, allocations: 122 kB / 0.565 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.3751, allocations: 4 kB / 0.565 GB, free: 1.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3751, allocations: 0 / 0.565 GB, free: 1.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3751, allocations: 0 / 0.565 GB, free: 1.203 MB / 398.1 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.0006038/0.3757, allocations: 353.5 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3757, allocations: 8.031 kB / 0.5653 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.3758, allocations: 16.83 kB / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.3761, allocations: 158.3 kB / 0.5655 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3761, allocations: 4.375 kB / 0.5655 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.3761, allocations: 8.375 kB / 0.5655 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3763, allocations: 53.98 kB / 0.5655 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3763, allocations: 0 / 0.5655 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3763, allocations: 4 kB / 0.5655 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3763, allocations: 0 / 0.5655 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.3764, allocations: 23.92 kB / 0.5656 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.3768, allocations: 263.9 kB / 0.5658 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.377, allocations: 54.67 kB / 0.5659 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.938e-05/0.377, allocations: 16.86 kB / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.3771, allocations: 0 / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.3772, allocations: 75.33 kB / 0.566 GB, free: 60 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.467e-06/0.3772, allocations: 7.984 kB / 0.566 GB, free: 52 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006104/0.3778, allocations: 181.3 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.3779, allocations: 55.41 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.3781, allocations: 214.7 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3781, allocations: 29.7 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.3782, allocations: 108.1 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.3783, allocations: 19.86 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.3783, allocations: 25.7 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3784, allocations: 330.8 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.858e-05/0.3785, allocations: 20 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-05/0.3786, allocations: 37.64 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.3787, allocations: 61.72 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3787, allocations: 0 / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001941/0.3789, allocations: 109.6 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3789, allocations: 15.92 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3789, allocations: 0 / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3789, allocations: 0 / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.379, allocations: 16 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.379, allocations: 0 / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.3791, allocations: 0 / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3791, allocations: 11.92 kB / 0.5671 GB, free: 14.77 MB / 414.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.3792, allocations: 129.8 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.3792, allocations: 15.94 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.3795, allocations: 118.9 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3795, allocations: 4 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3795, allocations: 0 / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3795, allocations: 0 / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.3799, allocations: 370.3 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3799, allocations: 0 / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/0.38, allocations: 8 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.38, allocations: 4.031 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.38, allocations: 4 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.38, allocations: 3.938 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.38, allocations: 0 / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.3802, allocations: 208.6 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.3802, allocations: 7.953 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.3803, allocations: 8 kB / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.3803, allocations: 11.94 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3804, allocations: 7.984 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3804, allocations: 4 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.3805, allocations: 152.3 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3805, allocations: 0 / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3808, allocations: 27.98 kB / 0.5682 GB, free: 13.61 MB / 414.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001689/0.3825, allocations: 460.6 kB / 0.5686 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.3827, allocations: 51.92 kB / 0.5687 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3827, allocations: 0 / 0.5687 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.3828, allocations: 31.91 kB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3832, allocations: 38.7 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.3837, allocations: 238.7 kB / 0.569 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.384, allocations: 0.708 MB / 0.5697 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.05e-05/0.384, allocations: 16.97 kB / 0.5697 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.3841, allocations: 19.38 kB / 0.5697 GB, free: 12.17 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3841, allocations: 0 / 0.5697 GB, free: 12.17 MB / 414.1 MB Notification: Performance of Templates: time 0.005065/0.3891, allocations: 1.767 MB / 0.5714 GB, free: 10.42 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.14606474712491]