Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001584/0.001584, allocations: 80.92 kB / 21.49 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.001121/0.001121, allocations: 170.3 kB / 24.91 MB, free: 8.723 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.262/0.262, allocations: 32.8 MB / 294.6 MB, free: 1.125 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 323.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.525e-05, allocations: 3.672 kB / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.006166/0.006191, allocations: 1.96 MB / 325.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004812/0.011, allocations: 1.118 MB / 326.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.01114, allocations: 7.938 kB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005254/0.01166, allocations: 247.2 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005024/0.01217, allocations: 243 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.01251, allocations: 119.5 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.01287, allocations: 275.2 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.01299, allocations: 31.2 kB / 327.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.01423, allocations: 155.6 kB / 327.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.01445, allocations: 171.6 kB / 327.7 MB, free: 5.234 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.01447, allocations: 8 kB / 327.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.01462, allocations: 67.86 kB / 327.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/0.0147, allocations: 67.7 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.01476, allocations: 47.78 kB / 327.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.01506, allocations: 203.2 kB / 328.1 MB, free: 4.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01506, allocations: 0 / 328.1 MB, free: 4.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.01506, allocations: 3.938 kB / 328.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.01507, allocations: 0 / 328.1 MB, free: 4.844 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005843/0.01565, allocations: 499.9 kB / 328.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.01569, allocations: 12.03 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.01575, allocations: 24.91 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.01601, allocations: 224.1 kB / 328.8 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.01603, allocations: 8.312 kB / 328.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.01605, allocations: 8.375 kB / 328.8 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.01623, allocations: 104.4 kB / 328.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.01625, allocations: 7.938 kB / 328.9 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.01626, allocations: 7.984 kB / 328.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.01627, allocations: 0 / 328.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.431e-05/0.01632, allocations: 33.56 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.01671, allocations: 304.9 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.01696, allocations: 182.7 kB / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.017, allocations: 33.64 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.01702, allocations: 7.938 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.01717, allocations: 108 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.01717, allocations: 0 / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006805/0.01785, allocations: 317.2 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.01789, allocations: 81.11 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.01919, allocations: 357 kB / 330.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.01923, allocations: 33.7 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.01928, allocations: 121.5 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.01934, allocations: 75.38 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.01939, allocations: 45.69 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.01948, allocations: 358.6 kB / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.01953, allocations: 22.81 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-05/0.01958, allocations: 61.97 kB / 331 MB, free: 1.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.473e-05/0.01967, allocations: 102.7 kB / 331.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01968, allocations: 0 / 331.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001612/0.01984, allocations: 140.6 kB / 331.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.01986, allocations: 4 kB / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01986, allocations: 0 / 331.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.01988, allocations: 4 kB / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.02, allocations: 47.98 kB / 331.3 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.02001, allocations: 8.219 kB / 331.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/0.02006, allocations: 7.938 kB / 331.3 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.02007, allocations: 8 kB / 331.3 MB, free: 1.324 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.724e-05/0.02016, allocations: 120.6 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.02019, allocations: 31.97 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.02039, allocations: 166.3 kB / 331.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.02039, allocations: 4 kB / 331.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.02039, allocations: 0 / 331.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.0204, allocations: 4 kB / 331.7 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.02093, allocations: 0.5633 MB / 332.2 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.02093, allocations: 7.984 kB / 332.2 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.02104, allocations: 35.92 kB / 332.3 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.02104, allocations: 3.938 kB / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.02106, allocations: 8 kB / 332.3 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.02106, allocations: 4 kB / 332.3 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.02106, allocations: 0 / 332.3 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.0214, allocations: 420.1 kB / 332.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.02144, allocations: 35.7 kB / 332.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.02148, allocations: 8 kB / 332.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.02164, allocations: 11.98 kB / 332.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.02169, allocations: 15.97 kB / 332.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.02172, allocations: 12 kB / 332.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001954/0.02192, allocations: 163.5 kB / 332.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02192, allocations: 0 / 332.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003713/0.02229, allocations: 47.94 kB / 333 MB, free: 15.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002367/0.02465, allocations: 0.6706 MB / 333.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.02491, allocations: 104.7 kB / 333.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.02492, allocations: 4 kB / 333.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.02503, allocations: 60.7 kB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.02557, allocations: 76.09 kB / 333.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009068/0.02647, allocations: 0.5132 MB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.738e-05/0.02657, allocations: 100.3 kB / 334.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.0267, allocations: 37.92 kB / 334.5 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.02687, allocations: 95.34 kB / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.834e-06/0.02687, allocations: 4 kB / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of Templates: time 0.006499/0.03337, allocations: 3.642 MB / 338.3 MB, free: 10.63 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.052365120034665]