Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001525/0.001525, 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.001736/0.001736, allocations: 172.6 kB / 24.92 MB, free: 8.727 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/1, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2538/0.2538, allocations: 34.27 MB / 296.1 MB, free: 0.7305 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.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 325.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.404e-05, allocations: 3.156 kB / 325.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002596/0.00262, allocations: 1.939 MB / 327.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.00409, allocations: 1.107 MB / 328.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.004191, allocations: 7.938 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.004592, allocations: 223.3 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.005006, allocations: 223 kB / 328.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.005264, allocations: 119.5 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.005552, allocations: 263.2 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.376e-05/0.005646, allocations: 31.09 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.005807, allocations: 139.7 kB / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.005949, allocations: 131.7 kB / 329.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.005969, allocations: 12 kB / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.006075, allocations: 71.83 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.006138, allocations: 55.78 kB / 329.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.006188, allocations: 51.78 kB / 329.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.006403, allocations: 199.1 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006406, allocations: 0 / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.006407, allocations: 0 / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.006411, allocations: 0 / 329.9 MB, free: 3.031 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.0004589/0.00687, allocations: 484.2 kB / 330.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.006899, allocations: 12.03 kB / 330.4 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.006941, allocations: 20.91 kB / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.007143, allocations: 217.8 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.007159, allocations: 4.375 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.007183, allocations: 8.375 kB / 330.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.007319, allocations: 99.44 kB / 330.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.007331, allocations: 7.922 kB / 330.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.007341, allocations: 11.98 kB / 330.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.007347, allocations: 4 kB / 330.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.379e-05/0.007391, allocations: 29.58 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.007684, allocations: 300.8 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.007868, allocations: 178.6 kB / 331.2 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.007902, allocations: 45.86 kB / 331.3 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.007913, allocations: 0 / 331.3 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.008028, allocations: 115.8 kB / 331.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 8.41e-07/0.008029, allocations: 4 kB / 331.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005821/0.008611, allocations: 305.1 kB / 331.7 MB, free: 1.078 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.008652, allocations: 85.11 kB / 331.8 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.008852, allocations: 324.6 kB / 332.1 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.008872, allocations: 37.62 kB / 332.1 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.00892, allocations: 129.4 kB / 332.2 MB, free: 484 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.008969, allocations: 67.41 kB / 332.3 MB, free: 416 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.009012, allocations: 45.69 kB / 332.4 MB, free: 364 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.009097, allocations: 354.7 kB / 332.7 MB, free: 0 / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.00914, allocations: 22.81 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.009189, allocations: 57.38 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/0.009279, allocations: 100 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.00928, allocations: 0 / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001374/0.009418, allocations: 135.2 kB / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.009433, allocations: 8 kB / 333 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.009439, allocations: 8.047 kB / 333 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.009453, allocations: 4 kB / 333 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.009534, allocations: 43.92 kB / 333.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.237e-06/0.009537, allocations: 0 / 333.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.009581, allocations: 15.89 kB / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.009591, allocations: 7.984 kB / 333.1 MB, free: 15.57 MB / 314.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.212e-05/0.009673, allocations: 132.6 kB / 333.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.009698, allocations: 23.97 kB / 333.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.00987, allocations: 154.9 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.009874, allocations: 8 kB / 333.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.009876, allocations: 0 / 333.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.009881, allocations: 3.984 kB / 333.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.01026, allocations: 0.5516 MB / 334 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01026, allocations: 4 kB / 334 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.01032, allocations: 31.92 kB / 334 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.01032, allocations: 3.938 kB / 334 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01034, allocations: 8 kB / 334 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.01034, allocations: 8.125 kB / 334 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01034, allocations: 0 / 334 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.01052, allocations: 416.7 kB / 334.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.01055, allocations: 31.75 kB / 334.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.01057, allocations: 8 kB / 334.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.01064, allocations: 11.98 kB / 334.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.01068, allocations: 19.91 kB / 334.5 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.01069, allocations: 12 kB / 334.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.669e-05/0.01079, allocations: 139.4 kB / 334.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01079, allocations: 0 / 334.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.011, allocations: 59.88 kB / 334.7 MB, free: 13.88 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.00146/0.01246, allocations: 0.6661 MB / 335.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.0126, allocations: 104.7 kB / 335.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.01261, allocations: 4 kB / 335.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.785e-05/0.01267, allocations: 57.94 kB / 335.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.01295, allocations: 83.7 kB / 335.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.01354, allocations: 492.7 kB / 336.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.463e-05/0.01361, allocations: 104.2 kB / 336.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.28e-05/0.01368, allocations: 41.91 kB / 336.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.757e-05/0.01378, allocations: 87.36 kB / 336.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01378, allocations: 0 / 336.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of Templates: time 0.005319/0.0191, allocations: 3.63 MB / 340 MB, free: 8.961 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.037583886180073]