Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001018/0.001018, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009901/0.0009901, allocations: 165 kB / 24.56 MB, free: 12 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 0.9811/0.9811, allocations: 177.1 MB / 205 MB, free: 5.613 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.2739/0.2739, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.4e-05/3.614e-05, allocations: 6.25 kB / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003471/0.003507, allocations: 1.719 MB / 377.8 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.005454, allocations: 0.9928 MB / 378.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.005556, allocations: 3.938 kB / 378.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.005966, allocations: 87.62 kB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.006409, allocations: 119.5 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.006653, allocations: 83.59 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.006875, allocations: 111.6 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.006922, allocations: 4.234 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.007051, allocations: 63.77 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.007176, allocations: 51.88 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.007197, allocations: 4 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.007303, allocations: 35.92 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.696e-05/0.00737, allocations: 23.91 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.007418, allocations: 15.94 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.007643, allocations: 95.59 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.007649, allocations: 4 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.007651, allocations: 0 / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.007657, allocations: 0 / 379.5 MB, free: 1.137 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.0007516/0.008409, allocations: 455.8 kB / 379.9 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.008469, allocations: 12.03 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.363e-05/0.008562, allocations: 8.891 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.00884, allocations: 152.4 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.008878, allocations: 4.375 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.008894, allocations: 384 / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.009079, allocations: 58.94 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.009098, allocations: 3.938 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.009116, allocations: 0 / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.009132, allocations: 4 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.009215, allocations: 15.92 kB / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.009458, allocations: 144.7 kB / 380.3 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.009627, allocations: 47.11 kB / 380.4 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.347e-05/0.009671, allocations: 15.67 kB / 380.4 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.009689, allocations: 4 kB / 380.4 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.009851, allocations: 65 kB / 380.5 MB, free: 32 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.407e-06/0.009854, allocations: 4 kB / 380.5 MB, free: 28 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000426/0.01028, allocations: 81.59 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.01034, allocations: 59.39 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.01053, allocations: 246.7 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.01054, allocations: 29.64 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.01061, allocations: 158.9 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.01065, allocations: 11.84 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.0107, allocations: 27.38 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.01083, allocations: 0.4962 MB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.286e-05/0.01086, allocations: 7.984 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.0109, allocations: 27.38 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.508e-05/0.01095, allocations: 43.3 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01095, allocations: 8 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001233/0.01108, allocations: 73.53 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.0111, allocations: 8 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.0111, allocations: 4.25 kB / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.01112, allocations: 0 / 381.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.01122, allocations: 8 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.01123, allocations: 8 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.01127, allocations: 0 / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.01127, allocations: 7.984 kB / 381.8 MB, free: 14.64 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 8.886e-05/0.01136, allocations: 168.6 kB / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.01138, allocations: 11.91 kB / 381.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.01153, allocations: 90.7 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01153, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01154, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01154, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.01167, allocations: 152.5 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01167, allocations: 0 / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.01168, allocations: 8 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.01168, allocations: 0 / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.01169, allocations: 4 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.0117, allocations: 7.938 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.0117, allocations: 0 / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.01181, allocations: 120.3 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.01183, allocations: 11.95 kB / 382.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.01185, allocations: 0 / 382.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.01187, allocations: 3.938 kB / 382.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.01191, allocations: 7.984 kB / 382.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.01192, allocations: 0 / 382.3 MB, free: 14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.393e-05/0.01202, allocations: 189 kB / 382.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01202, allocations: 0 / 382.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.01217, allocations: 23.94 kB / 382.5 MB, free: 13.79 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.001082/0.01326, allocations: 370.7 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.01338, allocations: 43.61 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01338, allocations: 4.062 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.661e-05/0.01341, allocations: 27.67 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.01362, allocations: 35.8 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.01402, allocations: 212.8 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.46e-05/0.01406, allocations: 71.33 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.699e-05/0.0141, allocations: 12.48 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.01413, allocations: 12.5 kB / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01413, allocations: 0 / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of Templates: time 0.003888/0.01802, allocations: 1.772 MB / 385.1 MB, free: 11.35 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.0911226328462362]