Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.0009727/0.0009727, allocations: 81.97 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.000975/0.000975, allocations: 165.9 kB / 25.61 MB, free: 8.906 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.9129/0.9129, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1542/0.1542, allocations: 34.27 MB / 296.9 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 3.938 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.508e-05, allocations: 5.547 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002302/0.002327, allocations: 1.75 MB / 381.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.003528, allocations: 0.9897 MB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.003606, allocations: 0 / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.003883, allocations: 39.75 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.004151, allocations: 111.4 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.004324, allocations: 83.59 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.004462, allocations: 99.7 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/0.004544, allocations: 11.98 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.00462, allocations: 55.77 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.004685, allocations: 23.92 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.004699, allocations: 4 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.751e-05/0.004777, allocations: 47.91 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.004821, allocations: 23.86 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.004856, allocations: 23.92 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.005004, allocations: 99.66 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005006, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.005006, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.00501, allocations: 0 / 382.7 MB, free: 19.93 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.0003351/0.005345, allocations: 459.7 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.005377, allocations: 12.03 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.005412, allocations: 12.84 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.005537, allocations: 156.4 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.005553, allocations: 4.375 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.005568, allocations: 8.375 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.015e-05/0.005658, allocations: 58.94 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.005668, allocations: 3.938 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.005676, allocations: 7.984 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.005681, allocations: 0 / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/0.005707, allocations: 11.94 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.005908, allocations: 252.4 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.272e-05/0.005991, allocations: 51.09 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.006011, allocations: 15.75 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.006021, allocations: 4 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.822e-05/0.006099, allocations: 76.91 kB / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.0061, allocations: 0 / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002852/0.006385, allocations: 137.5 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.006404, allocations: 55.41 kB / 384 MB, free: 18.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/0.006498, allocations: 242.2 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.006507, allocations: 29.7 kB / 384.3 MB, free: 18.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.006544, allocations: 154.8 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.006567, allocations: 23.84 kB / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.006605, allocations: 27.36 kB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.362e-05/0.006649, allocations: 0.504 MB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.006667, allocations: 4 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-05/0.006693, allocations: 31.36 kB / 385 MB, free: 17.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/0.006744, allocations: 51.3 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.006745, allocations: 7.984 kB / 385.1 MB, free: 17.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.77e-05/0.006843, allocations: 89.84 kB / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.006852, allocations: 4 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.006856, allocations: 0 / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.006866, allocations: 4 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.006931, allocations: 20.03 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.006934, allocations: 3.984 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.006968, allocations: 8 kB / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.006974, allocations: 0 / 385.2 MB, free: 17.22 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 4.954e-05/0.007023, allocations: 156.6 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.007043, allocations: 23.83 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.007171, allocations: 99.11 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007172, allocations: 0 / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.007174, allocations: 4 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007178, allocations: 0 / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.007402, allocations: 369.5 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.007404, allocations: 4 kB / 385.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.007434, allocations: 11.94 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007437, allocations: 3.984 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.007442, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007444, allocations: 4 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.007445, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.007554, allocations: 259.7 kB / 386.1 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.007567, allocations: 11.94 kB / 386.1 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.007585, allocations: 8.031 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.276e-05/0.007647, allocations: 0 / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.007674, allocations: 11.98 kB / 386.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.007686, allocations: 4 kB / 386.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.329e-05/0.007739, allocations: 168.2 kB / 386.3 MB, free: 16.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007739, allocations: 0 / 386.3 MB, free: 16.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.00798, allocations: 27.98 kB / 386.4 MB, free: 16 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.001044/0.009024, allocations: 430.9 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.00913, allocations: 63.52 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.009131, allocations: 0 / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.009165, allocations: 31.61 kB / 386.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.009449, allocations: 34.77 kB / 386.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.009754, allocations: 223.8 kB / 387.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.279e-05/0.009787, allocations: 75.19 kB / 387.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.909e-05/0.009826, allocations: 13.28 kB / 387.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.009886, allocations: 94.31 kB / 387.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009886, allocations: 0 / 387.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of Templates: time 0.003792/0.01368, allocations: 2.052 MB / 389.4 MB, free: 13.13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.024989367928356]