Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.0009987/0.0009987, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001219/0.001219, allocations: 174.8 kB / 24.82 MB, free: 8.91 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.2496/0.2496, allocations: 32.81 MB / 294.6 MB, free: 1.23 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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.692e-05, allocations: 2.312 kB / 376.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003364/0.003391, allocations: 1.754 MB / 378.3 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.004796, allocations: 0.9897 MB / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.089e-05/0.004887, allocations: 3.938 kB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.005178, allocations: 51.75 kB / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.005489, allocations: 107.4 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.005701, allocations: 75.66 kB / 379.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.005868, allocations: 107.6 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.767e-05/0.005956, allocations: 7.984 kB / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.00605, allocations: 55.83 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.006122, allocations: 23.91 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.006137, allocations: 4 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/0.006229, allocations: 47.91 kB / 379.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.006276, allocations: 31.92 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.006313, allocations: 23.81 kB / 379.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.00648, allocations: 99.66 kB / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006483, allocations: 0 / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006484, allocations: 0 / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.006491, allocations: 7.984 kB / 380 MB, free: 0.9023 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.0004221/0.006913, allocations: 463.7 kB / 380.4 MB, free: 424 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.00695, allocations: 8.031 kB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.006993, allocations: 16.84 kB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.007141, allocations: 161.2 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.007157, allocations: 8.375 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.007173, allocations: 4.375 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.007279, allocations: 54.94 kB / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.00729, allocations: 3.938 kB / 380.7 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.007297, allocations: 4 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.007302, allocations: 0 / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/0.00733, allocations: 15.98 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.007598, allocations: 260.4 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.577e-05/0.007693, allocations: 55.09 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.007715, allocations: 19.67 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.007731, allocations: 4 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.259e-05/0.007823, allocations: 68.98 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.007825, allocations: 0 / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003152/0.00814, allocations: 137.4 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.008165, allocations: 51.41 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.008304, allocations: 259 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.008316, allocations: 25.7 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.008377, allocations: 166.8 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.008403, allocations: 23.78 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.008439, allocations: 31.36 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.00856, allocations: 0.504 MB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.00858, allocations: 11.98 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.008614, allocations: 27.36 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.00866, allocations: 43.36 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.008661, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001055/0.008767, allocations: 101.4 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.008779, allocations: 8 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008784, allocations: 4.031 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.008795, allocations: 0 / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.00886, allocations: 19.92 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.008863, allocations: 0 / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.008892, allocations: 4 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.008898, allocations: 4 kB / 382.5 MB, free: 14.16 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.834e-05/0.008976, allocations: 160 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.009009, allocations: 23.83 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.009151, allocations: 107.2 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.009153, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.009155, allocations: 7.984 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.009158, allocations: 0 / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.009428, allocations: 365.9 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.00943, allocations: 0 / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.00946, allocations: 19.98 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.009463, allocations: 0 / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.009469, allocations: 0 / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.009471, allocations: 4 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.009473, allocations: 0 / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.009618, allocations: 255.4 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.009633, allocations: 15.98 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.009649, allocations: 4 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.457e-05/0.009694, allocations: 3.984 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.009721, allocations: 11.94 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.009734, allocations: 7.984 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.455e-05/0.009809, allocations: 171.1 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009809, allocations: 0 / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001814/0.00999, allocations: 35.88 kB / 383.6 MB, free: 12.91 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.0009751/0.01097, allocations: 425.5 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.01108, allocations: 51.61 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01108, allocations: 0 / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.01112, allocations: 31.66 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.01136, allocations: 38.5 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.01172, allocations: 233.5 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.01176, allocations: 71.33 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.351e-05/0.01181, allocations: 25.39 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.01188, allocations: 94.19 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01188, allocations: 0 / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of Templates: time 0.003867/0.01575, allocations: 2.039 MB / 386.6 MB, free: 10.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.1230794871225953]