Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001506/0.001506, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001693/0.001693, allocations: 161 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.9081/0.9081, allocations: 177.1 MB / 205 MB, free: 5.586 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.2219/0.2219, allocations: 32.81 MB / 294.3 MB, free: 1.207 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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.261e-05, allocations: 6.25 kB / 376.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003825/0.003848, allocations: 1.762 MB / 377.9 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004721/0.008569, allocations: 1.009 MB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.008651, allocations: 0 / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.008957, allocations: 47.69 kB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.009308, allocations: 91.48 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.009504, allocations: 83.59 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.009664, allocations: 107.7 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.858e-05/0.009743, allocations: 4 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.814e-05/0.009831, allocations: 59.75 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.009899, allocations: 23.92 kB / 379.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.009914, allocations: 8 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.009999, allocations: 47.91 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.01005, allocations: 23.86 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.01009, allocations: 15.94 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.01026, allocations: 99.64 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01026, allocations: 0 / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01027, allocations: 0 / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.01027, allocations: 0 / 379.5 MB, free: 1.156 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.0004503/0.01072, allocations: 443.9 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.01075, allocations: 8.031 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.0108, allocations: 16.88 kB / 379.9 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.01096, allocations: 156.4 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.01098, allocations: 4.375 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.011, allocations: 4.375 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.01112, allocations: 62.88 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.01113, allocations: 3.938 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.01114, allocations: 3.984 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.01114, allocations: 4 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.611e-05/0.01118, allocations: 11.92 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003383/0.01456, allocations: 279.8 kB / 380.5 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.0147, allocations: 55.16 kB / 380.5 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.01476, allocations: 23.67 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.01477, allocations: 0 / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.01489, allocations: 68.94 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.01489, allocations: 0 / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.00046/0.01535, allocations: 165.3 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.01538, allocations: 51.41 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.01552, allocations: 226.6 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.01554, allocations: 29.7 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.01559, allocations: 154.9 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.01562, allocations: 23.8 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.01566, allocations: 31.36 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.01578, allocations: 0.4923 MB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.01581, allocations: 12 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.01585, allocations: 35.36 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.764e-05/0.01592, allocations: 55.23 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01592, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001214/0.01604, allocations: 89.91 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.01605, allocations: 8.031 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.01606, allocations: 0 / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.01607, allocations: 4 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.01615, allocations: 19.98 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.01616, allocations: 0 / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.591e-05/0.01619, allocations: 8 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.0162, allocations: 0 / 382 MB, free: 14.42 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.789e-05/0.01628, allocations: 167.9 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.0163, allocations: 15.94 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.01646, allocations: 107.2 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01646, allocations: 4 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.01646, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01647, allocations: 3.938 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.01678, allocations: 396.9 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01678, allocations: 0 / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.01682, allocations: 11.94 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.01682, allocations: 4 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.01683, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01683, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01683, allocations: 4 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.01699, allocations: 263.5 kB / 382.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.017, allocations: 11.89 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.01702, allocations: 4 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003076/0.0201, allocations: 0 / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.02014, allocations: 11.98 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.02016, allocations: 4 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.02026, allocations: 167.8 kB / 383.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02026, allocations: 0 / 383.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002833/0.02055, allocations: 23.94 kB / 383.2 MB, free: 13.16 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.001052/0.0216, allocations: 443.3 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.02173, allocations: 51.61 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.02173, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.02178, allocations: 31.61 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.02208, allocations: 35.95 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.02242, allocations: 218.5 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.02247, allocations: 63.34 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.942e-05/0.02251, allocations: 21.08 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.02254, allocations: 16.5 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02254, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.01051/0.03305, allocations: 2.01 MB / 386 MB, free: 10.42 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.978960833977908]