Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001339/0.001339, allocations: 80.92 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.001455/0.001455, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.955/0.955, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2916/0.2916, allocations: 32.8 MB / 294.6 MB, free: 1.199 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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.347e-05, allocations: 2.969 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002112/0.002125, allocations: 1.757 MB / 325.1 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.003338, allocations: 1.008 MB / 326.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.167e-05/0.00342, allocations: 0 / 326.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.003718, allocations: 35.7 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.003976, allocations: 103.5 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.00413, allocations: 87.59 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.004262, allocations: 99.64 kB / 326.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.317e-05/0.004335, allocations: 13.36 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/0.004414, allocations: 55.83 kB / 326.5 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.004487, allocations: 23.91 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.004501, allocations: 4 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.46e-05/0.004575, allocations: 51.86 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.004618, allocations: 19.92 kB / 326.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.00465, allocations: 19.92 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.004794, allocations: 99.66 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004796, allocations: 0 / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004797, allocations: 4 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.0048, allocations: 0 / 326.7 MB, free: 6.242 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.0003778/0.005177, allocations: 325.2 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.005209, allocations: 8.031 kB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.005241, allocations: 12.92 kB / 327 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.005391, allocations: 147.4 kB / 327.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.005408, allocations: 4.375 kB / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.005428, allocations: 384 / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.005533, allocations: 65.77 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.005544, allocations: 3.938 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.005552, allocations: 4 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.005557, allocations: 0 / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.806e-05/0.005585, allocations: 15.92 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.005802, allocations: 166 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.213e-05/0.005894, allocations: 85.3 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.005912, allocations: 12.86 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.005924, allocations: 4 kB / 327.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.221e-05/0.006006, allocations: 62.16 kB / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.006007, allocations: 7.938 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002714/0.006278, allocations: 113.6 kB / 327.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.006306, allocations: 55.34 kB / 327.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.376e-05/0.006399, allocations: 176.8 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.006413, allocations: 25.7 kB / 328 MB, free: 4.836 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.006444, allocations: 104.1 kB / 328.1 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.006466, allocations: 23.78 kB / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.006493, allocations: 21.7 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.00657, allocations: 322.8 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.006587, allocations: 14.81 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-05/0.00661, allocations: 25.7 kB / 328.5 MB, free: 4.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.006652, allocations: 48.53 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006653, allocations: 3.938 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.716e-05/0.00672, allocations: 76.42 kB / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.006731, allocations: 7.984 kB / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.006736, allocations: 4 kB / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.006747, allocations: 0 / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.377e-05/0.006801, allocations: 15.94 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006803, allocations: 0 / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.006827, allocations: 8.031 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.006832, allocations: 3.984 kB / 328.6 MB, free: 4.129 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 6.327e-05/0.006896, allocations: 116.7 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.006907, allocations: 11.92 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.021e-05/0.006997, allocations: 83.06 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006999, allocations: 0 / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.007, allocations: 0 / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007004, allocations: 0 / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.007205, allocations: 299.4 kB / 329.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007206, allocations: 4.031 kB / 329.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.007226, allocations: 11.98 kB / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.007228, allocations: 384 / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.007234, allocations: 4 kB / 329.1 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.007236, allocations: 4 kB / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007237, allocations: 0 / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.959e-05/0.007337, allocations: 219 kB / 329.4 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.007347, allocations: 7.953 kB / 329.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.007362, allocations: 4 kB / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.612e-05/0.007398, allocations: 0 / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.007421, allocations: 7.984 kB / 329.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.007431, allocations: 12 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.591e-05/0.007467, allocations: 43.64 kB / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.007467, allocations: 0 / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000139/0.007606, allocations: 27.94 kB / 329.5 MB, free: 3.219 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.001127/0.008734, allocations: 0.5862 MB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.134e-05/0.008815, allocations: 44.77 kB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.008817, allocations: 0 / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.008847, allocations: 24.86 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.009006, allocations: 27.91 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.009286, allocations: 223.6 kB / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.009327, allocations: 71.47 kB / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.309e-05/0.00936, allocations: 16.95 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.009423, allocations: 67.36 kB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.009423, allocations: 0 / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of Templates: time 0.003342/0.01277, allocations: 2.023 MB / 332.5 MB, free: 428 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.9905976140871644]