Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 107.1 kB / 20.44 MB, free: 1.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 212.7 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2593/0.2593, allocations: 46.95 MB / 360.9 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 63.91 kB / 0.4967 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4537, allocations: 66.03 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003701/0.4574, allocations: 1.714 MB / 0.5628 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.4602, allocations: 1.665 MB / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.123e-05/0.4603, allocations: 0 / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.4606, allocations: 35.78 kB / 0.5645 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.461, allocations: 103.5 kB / 0.5646 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.4612, allocations: 79.67 kB / 0.5646 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.4614, allocations: 119.7 kB / 0.5648 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.811e-05/0.4614, allocations: 4 kB / 0.5648 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.265e-05/0.4615, allocations: 47.8 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.4617, allocations: 55.69 kB / 0.5649 GB, free: 336 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.4617, allocations: 8 kB / 0.5649 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.4619, allocations: 107.9 kB / 0.565 GB, free: 220 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.4619, allocations: 23.92 kB / 0.565 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.462, allocations: 39.72 kB / 0.565 GB, free: 156 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.4623, allocations: 173.8 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4623, allocations: 0 / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4623, allocations: 0 / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.4623, allocations: 0 / 0.5652 GB, free: 15.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006237/0.4629, allocations: 365.4 kB / 0.5655 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.463, allocations: 8.031 kB / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.463, allocations: 12.89 kB / 0.5656 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.4633, allocations: 155.9 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.4633, allocations: 4.375 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.4634, allocations: 8.109 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.4636, allocations: 109 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.4636, allocations: 7.938 kB / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4636, allocations: 4 kB / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.4636, allocations: 0 / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.4637, allocations: 31.97 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.4641, allocations: 240.4 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.4643, allocations: 82.64 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.4644, allocations: 24.8 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.4644, allocations: 4 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.4646, allocations: 79.31 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.4646, allocations: 0 / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006535/0.4652, allocations: 213.4 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.4653, allocations: 77.11 kB / 0.5666 GB, free: 14.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.4655, allocations: 178.2 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.4655, allocations: 33.7 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.4656, allocations: 100.1 kB / 0.5669 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.4656, allocations: 27.75 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.4657, allocations: 25.7 kB / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.4659, allocations: 330.8 kB / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-05/0.4659, allocations: 31.92 kB / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.4661, allocations: 72.27 kB / 0.5673 GB, free: 13.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.4663, allocations: 73.64 kB / 0.5674 GB, free: 13.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4663, allocations: 4 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002848/0.4666, allocations: 125.5 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4666, allocations: 4 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4666, allocations: 0 / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4666, allocations: 7.984 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.4667, allocations: 12 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4667, allocations: 4 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.4668, allocations: 8.125 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.4668, allocations: 7.984 kB / 0.5676 GB, free: 13.35 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 (11): * Single equations (assignments): 11 * 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.0001162/0.4669, allocations: 125.7 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.467, allocations: 11.98 kB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.4673, allocations: 146.5 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.4673, allocations: 4 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4673, allocations: 0 / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4673, allocations: 0 / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006139/0.4679, allocations: 382.8 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4679, allocations: 0 / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.564e-05/0.468, allocations: 15.98 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.468, allocations: 0 / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.468, allocations: 8.031 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.468, allocations: 4 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.468, allocations: 3.938 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.4684, allocations: 228.3 kB / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.4684, allocations: 15.91 kB / 0.5685 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.4684, allocations: 3.984 kB / 0.5685 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.4685, allocations: 11.94 kB / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.4685, allocations: 11.92 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.4686, allocations: 4 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.4687, allocations: 144 kB / 0.5686 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4687, allocations: 0 / 0.5686 GB, free: 12.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.4691, allocations: 47.88 kB / 0.5687 GB, free: 12.13 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 (11): * Single equations (assignments): 9 * 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.00214/0.4712, allocations: 0.583 MB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.4715, allocations: 79.89 kB / 0.5693 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4715, allocations: 4 kB / 0.5693 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.4716, allocations: 39.98 kB / 0.5694 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005276/0.4721, allocations: 31.92 kB / 0.5694 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.4728, allocations: 234.6 kB / 0.5696 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.4729, allocations: 88.19 kB / 0.5697 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.571e-05/0.473, allocations: 24.69 kB / 0.5697 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.4731, allocations: 27.42 kB / 0.5698 GB, free: 11.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4731, allocations: 0 / 0.5698 GB, free: 11.23 MB / 414.1 MB Notification: Performance of Templates: time 0.008493/0.4816, allocations: 2.706 MB / 0.5724 GB, free: 8.555 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.516799810808152]