Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.0009965/0.0009965, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001164/0.001164, allocations: 173.3 kB / 24.91 MB, free: 9.211 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.9598/0.9598, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2598/0.2598, allocations: 32.8 MB / 294.6 MB, free: 1.172 MB / 266.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 323.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.039e-05, allocations: 3.016 kB / 323.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.00207/0.002091, allocations: 1.751 MB / 325.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.003211, allocations: 1.013 MB / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.003274, allocations: 0 / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.003523, allocations: 47.69 kB / 326.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.003758, allocations: 103.5 kB / 326.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.003894, allocations: 79.67 kB / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.004024, allocations: 107.6 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.563e-05/0.00409, allocations: 9.375 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.003e-05/0.00417, allocations: 63.75 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.00423, allocations: 23.92 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.004242, allocations: 4 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.09e-05/0.004313, allocations: 43.92 kB / 326.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.004357, allocations: 27.84 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.004388, allocations: 23.92 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.004531, allocations: 103.7 kB / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004533, allocations: 0 / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004534, allocations: 0 / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.004538, allocations: 3.938 kB / 326.7 MB, free: 6.18 MB / 298.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.0003211/0.004859, allocations: 333.3 kB / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.004887, allocations: 11.97 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.004916, allocations: 12.92 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.005052, allocations: 154.4 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.005064, allocations: 384 / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.005081, allocations: 8.375 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.106e-05/0.005172, allocations: 61.77 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.00518, allocations: 3.938 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-06/0.005186, allocations: 0 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.00519, allocations: 4 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.005212, allocations: 7.984 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.005398, allocations: 177.9 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.009e-05/0.005478, allocations: 81.3 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.005495, allocations: 8.859 kB / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.005506, allocations: 11.98 kB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.712e-05/0.005583, allocations: 70.14 kB / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.005584, allocations: 0 / 327.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002526/0.005837, allocations: 113.5 kB / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.005865, allocations: 51.41 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.005971, allocations: 197.5 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.005986, allocations: 29.7 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.006016, allocations: 104 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.00604, allocations: 27.77 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.006066, allocations: 17.72 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.006135, allocations: 334.7 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.006151, allocations: 14.81 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.006172, allocations: 21.72 kB / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.006217, allocations: 52.56 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.006218, allocations: 3.938 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.803e-05/0.006286, allocations: 68.44 kB / 328.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.006296, allocations: 8 kB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.006299, allocations: 0 / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.006311, allocations: 4.031 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.524e-05/0.006366, allocations: 15.94 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.006369, allocations: 3.984 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.006396, allocations: 4.375 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.006403, allocations: 4 kB / 328.7 MB, free: 4.016 MB / 298.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.493e-05/0.006458, allocations: 112.7 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.006472, allocations: 19.92 kB / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.943e-05/0.006571, allocations: 75.08 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.006574, allocations: 4 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006575, allocations: 0 / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.006579, allocations: 7.984 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.006782, allocations: 295.4 kB / 329.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006783, allocations: 0 / 329.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.006809, allocations: 8 kB / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.006811, allocations: 0 / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.006819, allocations: 7.984 kB / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.00682, allocations: 0 / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006821, allocations: 0 / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.739e-05/0.006918, allocations: 219 kB / 329.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.006931, allocations: 15.91 kB / 329.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.006945, allocations: 4.031 kB / 329.4 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.006985, allocations: 3.984 kB / 329.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.007007, allocations: 11.98 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.007019, allocations: 4 kB / 329.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.945e-05/0.007068, allocations: 60.23 kB / 329.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007069, allocations: 0 / 329.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001419/0.00721, allocations: 23.94 kB / 329.5 MB, free: 3.09 MB / 298.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.001417/0.008627, allocations: 0.5874 MB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.194e-05/0.008709, allocations: 40.77 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.008713, allocations: 4 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.728e-05/0.00874, allocations: 16.86 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.008907, allocations: 47.06 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.00921, allocations: 246.5 kB / 330.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.009248, allocations: 71.33 kB / 330.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.239e-05/0.00928, allocations: 12.97 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.009343, allocations: 71.36 kB / 330.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009343, allocations: 0 / 330.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of Templates: time 0.003404/0.01275, allocations: 2.024 MB / 332.6 MB, free: 268 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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: 2.8915659859776497]