Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.0009037/0.0009037, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009234/0.0009234, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9187/0.9187, allocations: 177.1 MB / 205 MB, free: 5.621 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.2651/0.2651, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.316e-05, allocations: 10.31 kB / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.001964/0.001978, allocations: 1.773 MB / 377.9 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.003072, allocations: 1.005 MB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.003139, allocations: 7.938 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.003428, allocations: 75.7 kB / 379 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.003703, allocations: 119.4 kB / 379.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.003868, allocations: 91.53 kB / 379.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.004009, allocations: 115.6 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.786e-05/0.004077, allocations: 7.984 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.711e-05/0.004154, allocations: 63.83 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.004238, allocations: 59.86 kB / 379.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.004251, allocations: 4 kB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/0.004322, allocations: 47.91 kB / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.004364, allocations: 23.92 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.004396, allocations: 23.81 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.004542, allocations: 103.6 kB / 379.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.004543, allocations: 4 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.004544, allocations: 0 / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.004547, allocations: 0 / 379.6 MB, free: 1.027 MB / 346.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.0004/0.004947, allocations: 459.8 kB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.004976, allocations: 8.031 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.005018, allocations: 20.84 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.005159, allocations: 152.4 kB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.005175, allocations: 4.375 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.005188, allocations: 4.328 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.005292, allocations: 62.94 kB / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.005301, allocations: 3.938 kB / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.005308, allocations: 0 / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.005315, allocations: 0 / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.056e-05/0.005345, allocations: 19.98 kB / 380.3 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.005595, allocations: 283.9 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.672e-05/0.005681, allocations: 55.11 kB / 380.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.00571, allocations: 23.61 kB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.005717, allocations: 4 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.904e-05/0.005797, allocations: 65.05 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.005797, allocations: 0 / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003142/0.006112, allocations: 161.2 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.006138, allocations: 55.41 kB / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.006267, allocations: 246.7 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.006279, allocations: 25.7 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.006333, allocations: 162.8 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.006357, allocations: 31.73 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.006385, allocations: 23.38 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.006495, allocations: 0.5001 MB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.006518, allocations: 15.98 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.006554, allocations: 31.36 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.48e-05/0.006609, allocations: 55.31 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.00661, allocations: 0 / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.742e-05/0.006708, allocations: 93.55 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.006717, allocations: 4 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006722, allocations: 4.375 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.006733, allocations: 0 / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.006791, allocations: 15.94 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006796, allocations: 7.938 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.006824, allocations: 11.98 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.00683, allocations: 4 kB / 382.2 MB, free: 14.23 MB / 362.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 7.72e-05/0.006907, allocations: 164.5 kB / 382.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.006924, allocations: 15.91 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.007064, allocations: 111.2 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007065, allocations: 0 / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.007068, allocations: 4 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.007071, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.007364, allocations: 396.9 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.007369, allocations: 7.969 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.007399, allocations: 12 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007401, allocations: 32 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.007408, allocations: 4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.007411, allocations: 4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007412, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.007563, allocations: 259.4 kB / 383.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.007574, allocations: 7.953 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.00759, allocations: 7.984 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.007631, allocations: 4 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.007662, allocations: 11.92 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.007672, allocations: 4 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.228e-05/0.007764, allocations: 185 kB / 383.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007764, allocations: 4 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002792/0.008044, allocations: 27.92 kB / 383.4 MB, free: 12.94 MB / 362.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.0008203/0.008864, allocations: 429.4 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.008966, allocations: 55.59 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.008967, allocations: 0 / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.009003, allocations: 31.67 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.009203, allocations: 27.92 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.009496, allocations: 248.9 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.975e-05/0.009546, allocations: 67.28 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.643e-05/0.009593, allocations: 20.95 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.009621, allocations: 20.5 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009621, allocations: 0 / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of Templates: time 0.003402/0.01302, allocations: 2.017 MB / 386.3 MB, free: 10.17 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.003267476800829]