Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.0009588/0.0009588, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001121/0.001121, allocations: 165 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.9596/0.9596, allocations: 177.1 MB / 205 MB, free: 5.645 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.248/0.248, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.259e-05/4.588e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002801/0.002847, allocations: 1.661 MB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007708/0.003617, allocations: 0.5453 MB / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.243e-05/0.00371, allocations: 0 / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.004076, allocations: 127.6 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.004461, allocations: 127.5 kB / 380.5 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.004814, allocations: 119.6 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.005027, allocations: 99.81 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.005142, allocations: 15.89 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.099e-05/0.005223, allocations: 51.83 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.005341, allocations: 91.81 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.005357, allocations: 7.984 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.683e-05/0.005444, allocations: 43.92 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.005494, allocations: 19.94 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.005528, allocations: 27.86 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.005705, allocations: 103.6 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.005708, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005709, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005714, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000424/0.006138, allocations: 471.6 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.006176, allocations: 12.03 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.006225, allocations: 16.84 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.006371, allocations: 148.4 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.00638, allocations: 384 / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.00641, allocations: 12.36 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.006534, allocations: 54.95 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.006543, allocations: 192 / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.006556, allocations: 8.125 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.006564, allocations: 4 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.363e-05/0.006597, allocations: 11.92 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.007008, allocations: 307.7 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.619e-05/0.007095, allocations: 39.05 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.007128, allocations: 23.56 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.007158, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.007185, allocations: 37.47 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.007186, allocations: 4 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006823/0.007869, allocations: 181.6 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.007905, allocations: 55.39 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.008079, allocations: 274.8 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.008091, allocations: 29.7 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.008157, allocations: 166.8 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.008183, allocations: 27.75 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.008219, allocations: 31.36 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.008337, allocations: 0.5079 MB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.008361, allocations: 8 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.008383, allocations: 19.92 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.776e-05/0.00843, allocations: 35.62 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.008433, allocations: 4 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.664e-05/0.00853, allocations: 73.59 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.008544, allocations: 4 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.00855, allocations: 4 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.008566, allocations: 0 / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.008647, allocations: 15.98 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.008652, allocations: 4 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.008674, allocations: 11.94 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.008681, allocations: 3.984 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.117e-05/0.008752, allocations: 164.5 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.008776, allocations: 15.91 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.008941, allocations: 87.12 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.008945, allocations: 4 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.008949, allocations: 0 / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.008953, allocations: 3.984 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.009305, allocations: 401.3 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.009307, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.009355, allocations: 15.94 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.009358, allocations: 0 / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.009366, allocations: 4 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.009368, allocations: 0 / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.009371, allocations: 3.984 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.009521, allocations: 239.4 kB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.009533, allocations: 11.95 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.009547, allocations: 0 / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.009582, allocations: 0 / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.009618, allocations: 23.89 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.009622, allocations: 4 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.082e-05/0.009713, allocations: 192.1 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009713, allocations: 0 / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001797/0.009893, allocations: 23.98 kB / 384.8 MB, free: 11.56 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009195/0.01081, allocations: 442.8 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.01094, allocations: 43.61 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.01094, allocations: 0 / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.205e-05/0.01097, allocations: 27.67 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.0112, allocations: 27.94 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.01161, allocations: 275 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.48e-05/0.01166, allocations: 75.33 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.705e-05/0.01171, allocations: 25.08 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.01174, allocations: 16.5 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01174, allocations: 0 / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Templates: time 0.00336/0.0151, allocations: 1.427 MB / 387.1 MB, free: 9.324 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.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.303093707188964]