Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.0009617/0.0009617, allocations: 87 kB / 20.43 MB, free: 4.156 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.001008/0.001008, allocations: 165 kB / 23.8 MB, free: 0.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8874/0.8874, allocations: 158.6 MB / 185.7 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1384/0.1384, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.121e-05, allocations: 9.344 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.001971/0.001992, allocations: 1.737 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008341/0.002827, allocations: 0.7999 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.002883, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.003126, allocations: 47.64 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.003298, allocations: 59.75 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.003461, allocations: 83.7 kB / 350.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.003578, allocations: 103.6 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.003637, allocations: 4.234 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.993e-05/0.003697, allocations: 51.83 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.003747, allocations: 23.91 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.003761, allocations: 4 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.003824, allocations: 51.84 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.003858, allocations: 19.94 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.003887, allocations: 15.92 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.00401, allocations: 107.6 kB / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004012, allocations: 0 / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004012, allocations: 0 / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.004016, allocations: 0 / 350.8 MB, free: 6.25 MB / 282.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.000306/0.004322, allocations: 447.9 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.004353, allocations: 8.031 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.004386, allocations: 16.84 kB / 351.3 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.004513, allocations: 153.8 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.004527, allocations: 384 / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.004546, allocations: 8.375 kB / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.307e-05/0.004639, allocations: 62.94 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004646, allocations: 3.938 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.004654, allocations: 0 / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.00466, allocations: 4 kB / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.981e-05/0.00469, allocations: 7.984 kB / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.004895, allocations: 287.8 kB / 351.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.761e-05/0.004973, allocations: 55.11 kB / 351.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.004996, allocations: 23.61 kB / 351.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.005009, allocations: 4 kB / 351.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.909e-05/0.005078, allocations: 69.05 kB / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.005079, allocations: 0 / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002868/0.005366, allocations: 149.3 kB / 352.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.596e-05/0.005382, allocations: 55.41 kB / 352.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.005484, allocations: 239.9 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.005491, allocations: 25.7 kB / 352.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.005523, allocations: 154.9 kB / 352.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.005547, allocations: 35.73 kB / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.005575, allocations: 23.38 kB / 352.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.005624, allocations: 0.5001 MB / 353.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.005645, allocations: 15.98 kB / 353.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.724e-05/0.005672, allocations: 35.73 kB / 353.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.588e-05/0.005718, allocations: 47.31 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.005719, allocations: 0 / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.009e-05/0.005809, allocations: 97.64 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.005818, allocations: 4 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.005822, allocations: 80 / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.005834, allocations: 4 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.765e-05/0.005891, allocations: 15.94 kB / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.005896, allocations: 8.016 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.005922, allocations: 7.984 kB / 353.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.005928, allocations: 0 / 353.4 MB, free: 3.5 MB / 282.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 4.333e-05/0.005971, allocations: 164.5 kB / 353.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.005984, allocations: 15.91 kB / 353.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.006102, allocations: 107.1 kB / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006104, allocations: 0 / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.006106, allocations: 0 / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006109, allocations: 0 / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.006306, allocations: 397 kB / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006308, allocations: 0 / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.00633, allocations: 12 kB / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.006332, allocations: 3.984 kB / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.006338, allocations: 0 / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.006339, allocations: 0 / 354.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00634, allocations: 4 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.006446, allocations: 259.4 kB / 354.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.006457, allocations: 15.94 kB / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.006471, allocations: 0 / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.006509, allocations: 7.938 kB / 354.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.006532, allocations: 11.95 kB / 354.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.006542, allocations: 8 kB / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.098e-05/0.006593, allocations: 175.8 kB / 354.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006593, allocations: 0 / 354.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.006752, allocations: 23.94 kB / 354.6 MB, free: 2.23 MB / 282.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.0007915/0.007544, allocations: 437.5 kB / 355 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.774e-05/0.007642, allocations: 55.53 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.007643, allocations: 4 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.007675, allocations: 39.81 kB / 355.1 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.007879, allocations: 35.98 kB / 355.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.008128, allocations: 221.1 kB / 355.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.557e-05/0.008153, allocations: 67.34 kB / 355.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.835e-05/0.008182, allocations: 12.48 kB / 355.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.008207, allocations: 16.5 kB / 355.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008208, allocations: 4.062 kB / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of Templates: time 0.002999/0.01121, allocations: 1.838 MB / 357.3 MB, free: 15.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.283386647235602]