Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001053/0.001053, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001498/0.001498, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.013/1.013, allocations: 177.2 MB / 205 MB, free: 5.293 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.2875/0.2875, allocations: 32.81 MB / 294.3 MB, free: 1.168 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.837e-05, allocations: 6.25 kB / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003156/0.003184, allocations: 1.727 MB / 377.8 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.00488, allocations: 0.9858 MB / 378.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.004982, allocations: 4 kB / 378.8 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.005413, allocations: 63.73 kB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.005804, allocations: 111.5 kB / 379 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.006037, allocations: 75.61 kB / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.006253, allocations: 111.6 kB / 379.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.511e-05/0.006318, allocations: 4.234 kB / 379.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.006435, allocations: 63.81 kB / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.631e-05/0.006532, allocations: 39.89 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.00655, allocations: 4 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.006629, allocations: 31.92 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.006685, allocations: 23.92 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.006728, allocations: 19.92 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.006901, allocations: 87.61 kB / 379.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.006905, allocations: 7.984 kB / 379.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006906, allocations: 0 / 379.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.006911, allocations: 0 / 379.4 MB, free: 1.199 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000505/0.007416, allocations: 439.9 kB / 379.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.007457, allocations: 8.031 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.00751, allocations: 12.84 kB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.007701, allocations: 153.1 kB / 380 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.007722, allocations: 4.375 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.007738, allocations: 384 / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.007878, allocations: 62.88 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.007891, allocations: 7.938 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.007901, allocations: 0 / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.007911, allocations: 4 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.007947, allocations: 7.984 kB / 380.1 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.008095, allocations: 140.7 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.827e-05/0.008193, allocations: 43.11 kB / 380.3 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.008229, allocations: 23.67 kB / 380.3 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.008245, allocations: 3.984 kB / 380.3 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.259e-05/0.008338, allocations: 72.98 kB / 380.4 MB, free: 104 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.008339, allocations: 0 / 380.4 MB, free: 104 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001859/0.008525, allocations: 85.53 kB / 380.5 MB, free: 12 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.008566, allocations: 51.41 kB / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.008705, allocations: 234.4 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.008717, allocations: 25.7 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.008774, allocations: 158.8 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.008804, allocations: 11.84 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.008837, allocations: 31.36 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.008956, allocations: 0.4962 MB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.008978, allocations: 8 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/0.009007, allocations: 27.36 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.88e-05/0.009056, allocations: 39.31 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.009058, allocations: 0 / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.205e-05/0.00914, allocations: 77.89 kB / 381.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.009158, allocations: 4 kB / 381.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.009164, allocations: 3.938 kB / 381.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.009181, allocations: 4 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.009249, allocations: 8 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.009256, allocations: 8.016 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.009286, allocations: 7.953 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.009291, allocations: 0 / 381.7 MB, free: 14.75 MB / 362.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 (7): * Single equations (assignments): 7 * 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.194e-05/0.009363, allocations: 167.9 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.009378, allocations: 11.95 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.009503, allocations: 82.77 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.009504, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.009509, allocations: 4 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.009513, allocations: 3.984 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.805e-05/0.009601, allocations: 144.6 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.009602, allocations: 4 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.614e-05/0.009618, allocations: 4 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.00962, allocations: 0 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.009627, allocations: 4 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.00963, allocations: 7.875 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.009631, allocations: 4 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.617e-05/0.009727, allocations: 112.3 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.009739, allocations: 7.953 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.009754, allocations: 4 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.296e-05/0.009777, allocations: 7.938 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.009808, allocations: 3.984 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.00982, allocations: 8 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.421e-05/0.009894, allocations: 164.2 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009894, allocations: 0 / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001443/0.01004, allocations: 27.92 kB / 382.4 MB, free: 13.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008725/0.01091, allocations: 384.7 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.01101, allocations: 43.59 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01102, allocations: 0 / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.01105, allocations: 23.67 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.01124, allocations: 33.05 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.01156, allocations: 198.1 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/0.0116, allocations: 63.34 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.766e-05/0.01163, allocations: 16.55 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.01166, allocations: 16.5 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01166, allocations: 0 / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of Templates: time 0.003291/0.01495, allocations: 1.636 MB / 384.8 MB, free: 11.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.302954541053623]