Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.0009583/0.0009583, allocations: 80.8 kB / 21.5 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.001076/0.001076, allocations: 174.3 kB / 24.92 MB, free: 8.77 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.9704/0.9704, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2587/0.2587, allocations: 32.81 MB / 294.6 MB, free: 1.195 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.15e-05, allocations: 6.562 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002103/0.002125, allocations: 1.709 MB / 325 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000779/0.002904, allocations: 0.5762 MB / 325.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.002967, allocations: 7.938 kB / 325.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.003447, allocations: 447.1 kB / 326 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.003839, allocations: 303.1 kB / 326.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.004176, allocations: 175.5 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.004382, allocations: 179.6 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.004467, allocations: 16.83 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.004568, allocations: 119.8 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.004724, allocations: 199.6 kB / 326.9 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.004738, allocations: 4 kB / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.543e-05/0.004824, allocations: 55.86 kB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.137e-05/0.004905, allocations: 91.69 kB / 327.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.004938, allocations: 35.75 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.005136, allocations: 215.1 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.005137, allocations: 0 / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005138, allocations: 0 / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.005141, allocations: 0 / 327.3 MB, free: 5.598 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004085/0.00555, allocations: 0.5538 MB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.005579, allocations: 12.03 kB / 327.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.005614, allocations: 24.91 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.005793, allocations: 246 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.005803, allocations: 8.375 kB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.005822, allocations: 4.312 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.307e-05/0.005915, allocations: 66.88 kB / 328.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.005923, allocations: 192 / 328.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.00593, allocations: 4.125 kB / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.005936, allocations: 4 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.224e-05/0.005958, allocations: 7.984 kB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.006215, allocations: 219 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.223e-05/0.006267, allocations: 37.36 kB / 328.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.006282, allocations: 8.859 kB / 328.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.006297, allocations: 7.938 kB / 328.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.006316, allocations: 34.56 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.006317, allocations: 0 / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003981/0.006715, allocations: 161.6 kB / 328.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.006742, allocations: 59.34 kB / 328.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.007037, allocations: 0.5283 MB / 329.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.00705, allocations: 25.7 kB / 329.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.007105, allocations: 149.3 kB / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.007126, allocations: 27.78 kB / 329.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.007162, allocations: 21.7 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.007261, allocations: 362.6 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.007274, allocations: 7.984 kB / 329.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.007286, allocations: 4 kB / 329.9 MB, free: 2.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/0.00732, allocations: 27.67 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007321, allocations: 0 / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.919e-05/0.00739, allocations: 73.64 kB / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.0074, allocations: 7.938 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.007404, allocations: 4 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.007415, allocations: 4 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.00747, allocations: 19.98 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.007473, allocations: 0 / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.364e-05/0.007497, allocations: 3.953 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.007502, allocations: 4 kB / 330 MB, free: 2.734 MB / 298.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 6.682e-05/0.007569, allocations: 120.6 kB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.007594, allocations: 19.98 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.007745, allocations: 101.8 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.007747, allocations: 3.938 kB / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.007748, allocations: 8 kB / 330.3 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.007752, allocations: 3.984 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.008006, allocations: 307.4 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008007, allocations: 0 / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.008041, allocations: 15.98 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008044, allocations: 0 / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.008049, allocations: 4 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.008052, allocations: 4 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008052, allocations: 0 / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.286e-05/0.008145, allocations: 188.2 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.008167, allocations: 35.75 kB / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.008182, allocations: 4 kB / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.008218, allocations: 0 / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.008244, allocations: 11.98 kB / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.008248, allocations: 0 / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.00848, allocations: 287.2 kB / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.008481, allocations: 0 / 331.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.008625, allocations: 27.98 kB / 331.2 MB, free: 1.551 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: 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.001215/0.00984, allocations: 0.5835 MB / 331.7 MB, free: 1.273 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.588e-05/0.009916, allocations: 36.77 kB / 331.8 MB, free: 1.234 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.009922, allocations: 4 kB / 331.8 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.221e-05/0.009944, allocations: 24.8 kB / 331.8 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.01011, allocations: 30.02 kB / 331.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.01066, allocations: 0.6032 MB / 332.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.792e-05/0.01072, allocations: 127.2 kB / 332.6 MB, free: 396 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.513e-05/0.01076, allocations: 13.03 kB / 332.6 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.01081, allocations: 59.36 kB / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01081, allocations: 3.938 kB / 332.6 MB, free: 320 kB / 298.7 MB Notification: Performance of Templates: time 0.003776/0.01459, allocations: 1.766 MB / 334.4 MB, free: 14.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.9455398987047374]