Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008999/0.0008999, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009066/0.0009066, allocations: 161 kB / 24.56 MB, free: 4 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.962/0.962, allocations: 177.1 MB / 205 MB, free: 5.617 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.2613/0.2613, allocations: 32.81 MB / 294.3 MB, free: 1.289 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.692e-05, allocations: 13.2 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002323/0.00235, allocations: 1.774 MB / 377.9 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.00349, allocations: 1.001 MB / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.003546, allocations: 4 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.003755, allocations: 47.69 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.003993, allocations: 99.47 kB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.004147, allocations: 83.59 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.004277, allocations: 99.7 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.573e-05/0.004343, allocations: 15.98 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.004419, allocations: 55.77 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.004476, allocations: 19.92 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.00449, allocations: 4 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.004562, allocations: 51.91 kB / 379.4 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.004606, allocations: 23.86 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.004636, allocations: 23.92 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.004787, allocations: 95.66 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.00479, allocations: 4 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.00479, allocations: 0 / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.004794, allocations: 4 kB / 379.5 MB, free: 1.164 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004194/0.005213, allocations: 463.7 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.005242, allocations: 8.031 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.005281, allocations: 12.89 kB / 380 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.005427, allocations: 156.9 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.005441, allocations: 384 / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.005456, allocations: 4.375 kB / 380.1 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.005555, allocations: 58.94 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.005565, allocations: 7.938 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.005574, allocations: 3.984 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.005582, allocations: 7.984 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.005613, allocations: 15.94 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.005861, allocations: 283.8 kB / 380.5 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.005961, allocations: 51.2 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.005989, allocations: 23.56 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-06/0.005997, allocations: 0 / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.162e-05/0.006078, allocations: 72.98 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.006079, allocations: 0 / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003254/0.006405, allocations: 161.3 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.006432, allocations: 55.39 kB / 380.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.006556, allocations: 233.9 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.006569, allocations: 29.69 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.006623, allocations: 154.8 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.006647, allocations: 27.78 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.006676, allocations: 27.38 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.006781, allocations: 0.4923 MB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.006804, allocations: 19.98 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.006836, allocations: 31.36 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.366e-05/0.00689, allocations: 59.25 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.006891, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.974e-05/0.006991, allocations: 93.92 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.007, allocations: 4 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.007003, allocations: 0 / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.007014, allocations: 4 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.911e-05/0.007073, allocations: 16 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007077, allocations: 3.938 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.007108, allocations: 15.94 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.007113, allocations: 0 / 382.1 MB, free: 14.38 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 (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 7.756e-05/0.007191, allocations: 168.5 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.007206, allocations: 11.95 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.007342, allocations: 111.2 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007344, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.007347, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.007351, allocations: 0 / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.007629, allocations: 400.9 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.007631, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.007659, allocations: 15.92 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.00766, allocations: 4.031 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.007668, allocations: 4 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.00767, allocations: 0 / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.007671, allocations: 0 / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.007801, allocations: 255.4 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.007814, allocations: 11.91 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.007831, allocations: 8 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.007869, allocations: 3.984 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.007895, allocations: 7.984 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.007906, allocations: 4 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.855e-05/0.007984, allocations: 180.1 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007984, allocations: 4 kB / 383.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.008152, allocations: 31.92 kB / 383.2 MB, free: 13.1 MB / 362.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.000842/0.008994, allocations: 432.6 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.0091, allocations: 47.61 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009102, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.009138, allocations: 31.61 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.009345, allocations: 42.67 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.009633, allocations: 226.2 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.704e-05/0.00967, allocations: 71.33 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.149e-05/0.009701, allocations: 16.95 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.00973, allocations: 20.48 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009731, allocations: 0 / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of Templates: time 0.003391/0.01312, allocations: 2.002 MB / 386.1 MB, free: 10.35 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 2.950717314146459]