Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.00102/0.00102, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001255/0.001255, allocations: 165.5 kB / 25.61 MB, free: 8.586 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.9829/0.9829, allocations: 177.1 MB / 206.1 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1455/0.1455, allocations: 34.26 MB / 296.9 MB, free: 13.9 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.04e-05, allocations: 4.984 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00197/0.00199, allocations: 1.827 MB / 381.2 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.003416, allocations: 1.797 MB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.003498, allocations: 3.938 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.003765, allocations: 51.64 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.004075, allocations: 143.2 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.004223, allocations: 107.6 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.004381, allocations: 215.2 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.004423, allocations: 17.73 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.48e-05/0.004518, allocations: 103.7 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.00463, allocations: 63.8 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.004647, allocations: 8 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.004772, allocations: 107.8 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.004817, allocations: 39.83 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.004852, allocations: 39.86 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.005045, allocations: 207.2 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.005047, allocations: 0 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005048, allocations: 0 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005052, allocations: 4 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003692/0.005421, allocations: 0.5226 MB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.005449, allocations: 8.031 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.005493, allocations: 24.83 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.005653, allocations: 180.3 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.005668, allocations: 4.375 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.005677, allocations: 4.375 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.0058, allocations: 165 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.005807, allocations: 3.938 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.005815, allocations: 4 kB / 385 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.00582, allocations: 0 / 385 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.914e-05/0.005849, allocations: 19.98 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.76e-05/0.005947, allocations: 140.9 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.753e-05/0.006044, allocations: 94.14 kB / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.00607, allocations: 27.36 kB / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.006079, allocations: 4 kB / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.312e-05/0.006172, allocations: 108.3 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.006173, allocations: 0 / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001827/0.006356, allocations: 133.4 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.006384, allocations: 136.5 kB / 385.6 MB, free: 16.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.006499, allocations: 282.5 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.006509, allocations: 25.7 kB / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.006543, allocations: 166.8 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.006575, allocations: 23.84 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.006606, allocations: 39.36 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.006652, allocations: 0.5079 MB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.006673, allocations: 8 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/0.006714, allocations: 125.4 kB / 386.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.006766, allocations: 75.17 kB / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006768, allocations: 3.938 kB / 386.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001037/0.006872, allocations: 113.5 kB / 387 MB, free: 15.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.006883, allocations: 5.719 kB / 387 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.006888, allocations: 8.094 kB / 387 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.006897, allocations: 3.938 kB / 387 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/0.006965, allocations: 23.92 kB / 387 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.006968, allocations: 4 kB / 387 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.007012, allocations: 11.94 kB / 387 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.007018, allocations: 7.984 kB / 387.1 MB, free: 15.26 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 5.49e-05/0.007073, allocations: 164.6 kB / 387.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.007096, allocations: 23.86 kB / 387.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.007228, allocations: 130.7 kB / 387.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.00723, allocations: 7.938 kB / 387.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.007232, allocations: 0 / 387.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.007236, allocations: 4 kB / 387.4 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.838e-05/0.007314, allocations: 141.2 kB / 387.5 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.007316, allocations: 256 / 387.5 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.007342, allocations: 16 kB / 387.5 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.007344, allocations: 0 / 387.5 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.00735, allocations: 3.984 kB / 387.5 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007352, allocations: 4 kB / 387.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007353, allocations: 3.938 kB / 387.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.007468, allocations: 175.8 kB / 387.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.834e-05/0.007486, allocations: 27.84 kB / 387.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.007508, allocations: 0 / 387.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/0.007545, allocations: 11.98 kB / 387.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.007571, allocations: 11.92 kB / 387.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.007583, allocations: 4 kB / 387.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.959e-05/0.007642, allocations: 193.7 kB / 388 MB, free: 14.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007642, allocations: 0 / 388 MB, free: 14.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.007826, allocations: 59.86 kB / 388 MB, free: 14.23 MB / 314.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009642/0.008791, allocations: 0.4945 MB / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.008902, allocations: 67.53 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.008903, allocations: 0 / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.508e-05/0.008938, allocations: 39.59 kB / 388.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.00915, allocations: 78.52 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.009437, allocations: 276.2 kB / 389 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.534e-05/0.009462, allocations: 79.84 kB / 389 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.174e-05/0.009514, allocations: 29.45 kB / 389.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.445e-05/0.009608, allocations: 122.2 kB / 389.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009609, allocations: 0 / 389.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of Templates: time 0.004444/0.01405, allocations: 3.816 MB / 393 MB, free: 9.418 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.2916473392397165]