Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001342/0.001342, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001186/0.001186, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.9523/0.9523, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2419/0.2419, allocations: 34.26 MB / 296.1 MB, free: 0.6523 MB / 266.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 325.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.574e-05, allocations: 2.312 kB / 325.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003294/0.00332, allocations: 1.76 MB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.005046, allocations: 1.007 MB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.282e-05/0.005119, allocations: 0 / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.005423, allocations: 51.69 kB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.005747, allocations: 103.5 kB / 328.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.005937, allocations: 83.55 kB / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.006111, allocations: 100.2 kB / 328.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.021e-05/0.006191, allocations: 7.984 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.006295, allocations: 59.77 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.006373, allocations: 27.91 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.006391, allocations: 4 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-05/0.006485, allocations: 43.92 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.006543, allocations: 27.91 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.00658, allocations: 19.88 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.006767, allocations: 111.6 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006769, allocations: 0 / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00677, allocations: 0 / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.006773, allocations: 0 / 328.7 MB, free: 4.168 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.0004103/0.007183, allocations: 337.4 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.007217, allocations: 12.03 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.007252, allocations: 8.938 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.00743, allocations: 146.4 kB / 329.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.007451, allocations: 8.359 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.007471, allocations: 4.375 kB / 329.2 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.007593, allocations: 65.7 kB / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.007605, allocations: 7.938 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.007614, allocations: 4 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.007619, allocations: 0 / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.007649, allocations: 4 kB / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.00789, allocations: 173.9 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.008002, allocations: 89.34 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.008031, allocations: 20.78 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.008041, allocations: 4 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.008142, allocations: 66.16 kB / 329.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.008144, allocations: 0 / 329.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003397/0.008483, allocations: 105.5 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.008518, allocations: 55.41 kB / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.008684, allocations: 197.6 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.008703, allocations: 29.7 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.008748, allocations: 96.06 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.008782, allocations: 27.78 kB / 330.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.008823, allocations: 25.7 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.008924, allocations: 330.8 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.008949, allocations: 6.828 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.008983, allocations: 30.02 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.681e-05/0.009039, allocations: 40.52 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.009041, allocations: 0 / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001103/0.009151, allocations: 84.38 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.009163, allocations: 4 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.009167, allocations: 3.938 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.009181, allocations: 0 / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.009259, allocations: 20.02 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.009263, allocations: 4 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.009308, allocations: 0 / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.009318, allocations: 7.984 kB / 330.7 MB, free: 2.008 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 8.226e-05/0.009401, allocations: 119 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.009424, allocations: 15.92 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.009564, allocations: 75.12 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.009568, allocations: 4 kB / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.009569, allocations: 0 / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009572, allocations: 0 / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.009865, allocations: 299.6 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.009867, allocations: 0 / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.009908, allocations: 15.92 kB / 331.2 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009911, allocations: 0 / 331.2 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.009918, allocations: 4 kB / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.00992, allocations: 0 / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009921, allocations: 80 / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.01007, allocations: 231 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.01009, allocations: 11.91 kB / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.01011, allocations: 0 / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.01018, allocations: 8.031 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.01021, allocations: 3.984 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.01023, allocations: 8 kB / 331.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.533e-05/0.0103, allocations: 60.23 kB / 331.5 MB, free: 1.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0103, allocations: 0 / 331.5 MB, free: 1.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.01055, allocations: 27.92 kB / 331.6 MB, free: 1.07 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.001797/0.01234, allocations: 0.5708 MB / 332.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.01246, allocations: 44.72 kB / 332.2 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.01246, allocations: 4 kB / 332.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.01251, allocations: 24.78 kB / 332.2 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.01277, allocations: 39.03 kB / 332.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.01317, allocations: 246.6 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.003e-05/0.01322, allocations: 67.34 kB / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.638e-05/0.01328, allocations: 21.27 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/0.01336, allocations: 67.36 kB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01336, allocations: 0 / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of Templates: time 0.004881/0.01824, allocations: 2.021 MB / 334.7 MB, free: 14.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.966029904782772]