Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001142/0.001142, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001152/0.001152, allocations: 168.4 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9522/0.9522, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1574/0.1574, allocations: 32.8 MB / 295.4 MB, free: 15.42 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 377.4 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.793e-05/2.968e-05, allocations: 4.828 kB / 377.4 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00299/0.00302, allocations: 1.747 MB / 379.1 MB, free: 23.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.004494, allocations: 0.9935 MB / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.004583, allocations: 7.938 kB / 380.1 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.004894, allocations: 43.81 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.005168, allocations: 103.5 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.005358, allocations: 79.61 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.005497, allocations: 115.5 kB / 380.4 MB, free: 22.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.005593, allocations: 12 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.005678, allocations: 51.83 kB / 380.5 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.005762, allocations: 23.91 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.005779, allocations: 4 kB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.501e-05/0.005864, allocations: 43.92 kB / 380.6 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.005922, allocations: 31.91 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.005962, allocations: 19.88 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.006147, allocations: 107.6 kB / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.006152, allocations: 0 / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.006154, allocations: 4 kB / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.00616, allocations: 0 / 380.7 MB, free: 22.15 MB / 314.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.0004478/0.006608, allocations: 467.7 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.006654, allocations: 11.98 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.0067, allocations: 16.84 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.006867, allocations: 157.2 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.006888, allocations: 8.312 kB / 381.4 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.006907, allocations: 4.375 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.007028, allocations: 58.94 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.00704, allocations: 3.938 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.007048, allocations: 0 / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.007054, allocations: 0 / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.007082, allocations: 15.98 kB / 381.5 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.007322, allocations: 264.4 kB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.999e-05/0.007412, allocations: 51.09 kB / 381.8 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.007433, allocations: 15.67 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.007448, allocations: 4 kB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.007552, allocations: 68.98 kB / 381.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.007553, allocations: 0 / 381.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002973/0.00785, allocations: 141.6 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.007871, allocations: 55.41 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.007963, allocations: 260.8 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.00797, allocations: 29.7 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.008006, allocations: 162.8 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.008026, allocations: 19.84 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.008053, allocations: 31.3 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.008101, allocations: 0.504 MB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.008117, allocations: 7.984 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.008139, allocations: 27.38 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/0.008178, allocations: 47.34 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.008179, allocations: 4 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.243e-05/0.008261, allocations: 89.47 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.008273, allocations: 4 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.008278, allocations: 4 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.008287, allocations: 0 / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.008349, allocations: 23.86 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.008352, allocations: 0 / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.008379, allocations: 4 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.008385, allocations: 4.156 kB / 383.3 MB, free: 19.41 MB / 314.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 ($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 5.893e-05/0.008444, allocations: 160.6 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.008461, allocations: 23.83 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.008582, allocations: 111 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.008584, allocations: 0 / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.008586, allocations: 3.984 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.008589, allocations: 0 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.008795, allocations: 365.5 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.008797, allocations: 0 / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.008821, allocations: 15.98 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.008823, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.008829, allocations: 4.031 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.00883, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008831, allocations: 4 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.515e-05/0.008926, allocations: 259.7 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.008936, allocations: 7.953 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.008952, allocations: 4 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.891e-05/0.008991, allocations: 3.984 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.009015, allocations: 8 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.009027, allocations: 7.984 kB / 384.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.561e-05/0.009073, allocations: 171.1 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009073, allocations: 4 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.00924, allocations: 27.98 kB / 384.4 MB, free: 18.17 MB / 314.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) * Number of clocked states: 0 () * 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 (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.0008735/0.01011, allocations: 439.1 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.764e-05/0.01021, allocations: 47.55 kB / 384.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01021, allocations: 0 / 384.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.01024, allocations: 31.61 kB / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.01048, allocations: 42.92 kB / 385 MB, free: 17.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.01079, allocations: 253.5 kB / 385.2 MB, free: 17.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.21e-05/0.01082, allocations: 67.34 kB / 385.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.345e-05/0.01085, allocations: 12.97 kB / 385.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.01091, allocations: 94.19 kB / 385.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01091, allocations: 0 / 385.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of Templates: time 0.003456/0.01437, allocations: 2.068 MB / 387.4 MB, free: 15.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3054652758874]