Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.0009018/0.0009018, allocations: 80.8 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.0009659/0.0009659, allocations: 169.6 kB / 24.91 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 0.9842/0.9842, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2439/0.2439, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.359e-05, allocations: 5.859 kB / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00562/0.005643, allocations: 1.756 MB / 325.1 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.007015, allocations: 1.009 MB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.71e-05/0.007083, allocations: 0 / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003273/0.01036, allocations: 43.7 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.01065, allocations: 91.48 kB / 326.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.01084, allocations: 79.66 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.01099, allocations: 115.6 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.762e-05/0.01107, allocations: 8.734 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.01116, allocations: 51.84 kB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.01124, allocations: 27.89 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.01125, allocations: 7.938 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.412e-05/0.01134, allocations: 43.92 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.01138, allocations: 19.92 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.01142, allocations: 23.92 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.01158, allocations: 99.59 kB / 326.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01158, allocations: 0 / 326.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01158, allocations: 4 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.01158, allocations: 0 / 326.7 MB, free: 6.227 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.0003598/0.01194, allocations: 317.4 kB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.01197, allocations: 8.031 kB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.01201, allocations: 16.86 kB / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.01216, allocations: 138.3 kB / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.01217, allocations: 384 / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.01219, allocations: 8.375 kB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.01229, allocations: 61.77 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.0123, allocations: 3.938 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.01231, allocations: 8 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.01232, allocations: 0 / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.01234, allocations: 11.98 kB / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.01255, allocations: 165.8 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.375e-05/0.01264, allocations: 89.27 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.01267, allocations: 16.92 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.01268, allocations: 3.938 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.473e-05/0.01277, allocations: 62.16 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.01277, allocations: 0 / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002842/0.01305, allocations: 113.5 kB / 327.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.01308, allocations: 51.41 kB / 327.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/0.0162, allocations: 174.1 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.01622, allocations: 33.64 kB / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.01626, allocations: 92.11 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.01628, allocations: 27.75 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.01632, allocations: 25.69 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.01641, allocations: 322.8 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.01643, allocations: 10.83 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.01646, allocations: 25.69 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.292e-05/0.01651, allocations: 52.58 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01651, allocations: 0 / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.691e-05/0.01661, allocations: 76.38 kB / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.01662, allocations: 4 kB / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01662, allocations: 4 kB / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.01664, allocations: 0 / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.0167, allocations: 19.92 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.01671, allocations: 0 / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.01674, allocations: 4 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.01674, allocations: 4.031 kB / 328.6 MB, free: 4.137 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.143e-05/0.01683, allocations: 116.7 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.01684, allocations: 15.91 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.01696, allocations: 83.06 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01696, allocations: 0 / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01697, allocations: 384 / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01697, allocations: 0 / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.01722, allocations: 295.4 kB / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.01722, allocations: 4 kB / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.01725, allocations: 12.03 kB / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01725, allocations: 0 / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.01726, allocations: 3.984 kB / 329.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.01727, allocations: 4 kB / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01727, allocations: 0 / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.01739, allocations: 214.9 kB / 329.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.0174, allocations: 11.91 kB / 329.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.01742, allocations: 4 kB / 329.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.859e-05/0.01748, allocations: 7.984 kB / 329.3 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.0175, allocations: 4 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.01752, allocations: 7.984 kB / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.703e-05/0.01756, allocations: 48.36 kB / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01756, allocations: 0 / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.01778, allocations: 27.92 kB / 329.4 MB, free: 3.223 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.004155/0.02194, allocations: 0.5754 MB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.02205, allocations: 44.77 kB / 330.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.02205, allocations: 0 / 330.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.504e-05/0.02209, allocations: 24.84 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.02231, allocations: 30.89 kB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.02266, allocations: 227.9 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.491e-05/0.0227, allocations: 71.33 kB / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.187e-05/0.02274, allocations: 21.41 kB / 330.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.02281, allocations: 71.36 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02282, allocations: 0 / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of Templates: time 0.003792/0.02661, allocations: 2.007 MB / 332.5 MB, free: 448 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.9668499059043825]