Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001437/0.001437, allocations: 80.92 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.001637/0.001637, allocations: 172.3 kB / 24.91 MB, free: 8.766 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.2652/0.2652, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 323.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.815e-05, allocations: 3.188 kB / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004103/0.004131, allocations: 1.968 MB / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.0063, allocations: 1.114 MB / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.006431, allocations: 0 / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.006966, allocations: 235.2 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.007467, allocations: 215.1 kB / 326.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.007836, allocations: 115.6 kB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.008206, allocations: 267.2 kB / 327.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.008334, allocations: 19.23 kB / 327.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.008586, allocations: 143.6 kB / 327.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.008805, allocations: 139.6 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.008834, allocations: 12 kB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.008977, allocations: 63.92 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.693e-05/0.009064, allocations: 67.75 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.542e-05/0.009129, allocations: 47.78 kB / 327.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.009532, allocations: 199.2 kB / 327.9 MB, free: 4.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.009536, allocations: 0 / 327.9 MB, free: 4.961 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.009538, allocations: 3.938 kB / 327.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.009544, allocations: 0 / 327.9 MB, free: 4.957 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.0006372/0.01018, allocations: 484 kB / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.01022, allocations: 8.031 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.01028, allocations: 24.92 kB / 328.4 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.01058, allocations: 209.8 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.0106, allocations: 8.375 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.01063, allocations: 8.375 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.01082, allocations: 111.4 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.01083, allocations: 3.938 kB / 328.8 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.01084, allocations: 0 / 328.8 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.01085, allocations: 4 kB / 328.8 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.187e-05/0.01091, allocations: 33.62 kB / 328.8 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.01132, allocations: 300.8 kB / 329.1 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.01161, allocations: 186.6 kB / 329.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.01166, allocations: 33.89 kB / 329.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.01167, allocations: 4 kB / 329.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.01184, allocations: 113.6 kB / 329.4 MB, free: 3.324 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.734e-06/0.01184, allocations: 3.938 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001004/0.01285, allocations: 309.7 kB / 329.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.01289, allocations: 81.11 kB / 329.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.01319, allocations: 328.6 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.01322, allocations: 33.7 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.01328, allocations: 117.5 kB / 330.3 MB, free: 2.422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.331e-05/0.01336, allocations: 75.41 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.01342, allocations: 37.69 kB / 330.4 MB, free: 2.305 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.0135, allocations: 350.7 kB / 330.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.01354, allocations: 26.81 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.932e-05/0.01358, allocations: 69.95 kB / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.404e-05/0.01368, allocations: 104 kB / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01368, allocations: 0 / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001367/0.01382, allocations: 135.2 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.01383, allocations: 4 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01383, allocations: 4 kB / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01385, allocations: 4 kB / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.01394, allocations: 51.97 kB / 331.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.01395, allocations: 240 / 331.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.01399, allocations: 15.89 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.014, allocations: 11.98 kB / 331.2 MB, free: 1.504 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 7.882e-05/0.01408, allocations: 128.6 kB / 331.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.01411, allocations: 23.98 kB / 331.3 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.01429, allocations: 153.3 kB / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.0143, allocations: 7.984 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.01431, allocations: 0 / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.01431, allocations: 0 / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.01473, allocations: 0.5672 MB / 332 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01473, allocations: 0 / 332 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.01479, allocations: 35.92 kB / 332.1 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.0148, allocations: 7.938 kB / 332.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.01481, allocations: 4 kB / 332.1 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01481, allocations: 4 kB / 332.1 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01481, allocations: 0 / 332.1 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.01503, allocations: 420.8 kB / 332.5 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.01505, allocations: 27.75 kB / 332.5 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.01508, allocations: 8 kB / 332.5 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.01516, allocations: 7.984 kB / 332.5 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.0152, allocations: 23.97 kB / 332.6 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.01522, allocations: 4.078 kB / 332.6 MB, free: 16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.01534, allocations: 143.4 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01534, allocations: 4 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.01556, allocations: 55.88 kB / 332.8 MB, free: 15.8 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.001449/0.01701, allocations: 0.6675 MB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000442/0.01745, allocations: 108.5 kB / 333.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.01746, allocations: 4 kB / 333.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.952e-05/0.01752, allocations: 60.7 kB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.01782, allocations: 73.28 kB / 333.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.01836, allocations: 497.8 kB / 334.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.513e-05/0.01843, allocations: 100.3 kB / 334.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.099e-05/0.0185, allocations: 41.91 kB / 334.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.0186, allocations: 91.36 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0186, allocations: 4 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of Templates: time 0.005491/0.02409, allocations: 3.636 MB / 338 MB, free: 10.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.0337777989916503]