Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.0009361/0.0009361, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001022/0.001022, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.9458/0.9458, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2467/0.2467, allocations: 32.8 MB / 294.6 MB, free: 1.242 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.306e-05, allocations: 5.859 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002364/0.002387, allocations: 1.756 MB / 325.1 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.003646, allocations: 1.009 MB / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.415e-05/0.00373, allocations: 0 / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.004031, allocations: 51.69 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.004358, allocations: 107.5 kB / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.004586, allocations: 83.59 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.00475, allocations: 99.7 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.006e-05/0.00483, allocations: 8.734 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.00493, allocations: 59.77 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.677e-05/0.005017, allocations: 27.91 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.005033, allocations: 4 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.841e-05/0.005122, allocations: 47.91 kB / 326.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.005169, allocations: 31.86 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.005202, allocations: 15.94 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.005372, allocations: 119.5 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005375, allocations: 4 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005375, allocations: 0 / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.005379, allocations: 0 / 326.7 MB, free: 6.195 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.0003891/0.005768, allocations: 345.2 kB / 327.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.005801, allocations: 12.03 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.005835, allocations: 8.922 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.006007, allocations: 162.4 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.006024, allocations: 8.375 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.006045, allocations: 4.375 kB / 327.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.006153, allocations: 57.77 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.006162, allocations: 11.88 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.006173, allocations: 7.984 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.006179, allocations: 0 / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.006201, allocations: 8 kB / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.006409, allocations: 169.9 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.027e-05/0.006499, allocations: 85.36 kB / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.006518, allocations: 8.859 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.006529, allocations: 4 kB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.969e-05/0.006619, allocations: 82.06 kB / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.00662, allocations: 0 / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002934/0.006914, allocations: 109.5 kB / 327.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.006946, allocations: 55.39 kB / 327.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.007075, allocations: 213 kB / 328 MB, free: 4.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.007088, allocations: 25.7 kB / 328.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.00712, allocations: 100.1 kB / 328.2 MB, free: 4.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.007146, allocations: 27.78 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.007176, allocations: 25.7 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.007256, allocations: 326.8 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.007275, allocations: 14.81 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.007298, allocations: 21.72 kB / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.765e-05/0.007346, allocations: 56.5 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.007347, allocations: 0 / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.265e-05/0.00743, allocations: 72.38 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.007441, allocations: 4 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007445, allocations: 0 / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007459, allocations: 4 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.007534, allocations: 19.98 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.007537, allocations: 32 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.007568, allocations: 8.375 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.007574, allocations: 0 / 328.7 MB, free: 3.996 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 7.262e-05/0.007646, allocations: 116.7 kB / 328.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.007663, allocations: 19.86 kB / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.007787, allocations: 79.06 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007789, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.007793, allocations: 8 kB / 329 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.007796, allocations: 0 / 329 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.008017, allocations: 295.4 kB / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008019, allocations: 4.031 kB / 329.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.008046, allocations: 15.98 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.00805, allocations: 4 kB / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.008056, allocations: 3.938 kB / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.008057, allocations: 0 / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.008059, allocations: 0 / 329.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.008165, allocations: 219 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.008189, allocations: 11.91 kB / 329.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.008204, allocations: 7.938 kB / 329.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.962e-05/0.008244, allocations: 4 kB / 329.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.008269, allocations: 11.98 kB / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.008279, allocations: 0 / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.95e-05/0.008338, allocations: 84.77 kB / 329.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008338, allocations: 0 / 329.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001514/0.00849, allocations: 27.94 kB / 329.6 MB, free: 3.031 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.001275/0.009764, allocations: 0.5772 MB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.009883, allocations: 44.78 kB / 330.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.009888, allocations: 0 / 330.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.009918, allocations: 32.77 kB / 330.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.0101, allocations: 35.91 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.01043, allocations: 252.2 kB / 330.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.293e-05/0.01047, allocations: 83.44 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.803e-05/0.01051, allocations: 12.98 kB / 330.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.01057, allocations: 71.3 kB / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01057, allocations: 0 / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of Templates: time 0.004122/0.0147, allocations: 2.046 MB / 332.8 MB, free: 176 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.9876445652917027]