Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.0009192/0.0009192, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001279/0.001279, allocations: 169.9 kB / 24.99 MB, free: 8.289 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.108/1.108, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2547/0.2547, allocations: 32.8 MB / 294.6 MB, free: 1.293 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.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.88e-05, allocations: 8.281 kB / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002088/0.002107, allocations: 1.642 MB / 377.7 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003265, allocations: 1.27 MB / 378.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.003322, allocations: 4 kB / 378.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.003521, allocations: 31.78 kB / 379 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.003801, allocations: 87.48 kB / 379 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.004037, allocations: 107.7 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.004181, allocations: 71.72 kB / 379.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.004284, allocations: 19.91 kB / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.076e-05/0.004345, allocations: 31.92 kB / 379.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.636e-05/0.004441, allocations: 27.89 kB / 379.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.004458, allocations: 4 kB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.004582, allocations: 91.89 kB / 379.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.004624, allocations: 15.92 kB / 379.4 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.004651, allocations: 11.94 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.004847, allocations: 135.5 kB / 379.6 MB, free: 1.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004849, allocations: 0 / 379.6 MB, free: 1.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00485, allocations: 0 / 379.6 MB, free: 1.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.004853, allocations: 0 / 379.6 MB, free: 1.426 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003874/0.00524, allocations: 432 kB / 380 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.005275, allocations: 12.03 kB / 380 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.005318, allocations: 8.891 kB / 380 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.005461, allocations: 136.4 kB / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.00547, allocations: 8.375 kB / 380.1 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.005491, allocations: 4.375 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.005616, allocations: 100 kB / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.005624, allocations: 192 / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.005634, allocations: 8.109 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.005641, allocations: 0 / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.834e-05/0.00567, allocations: 11.98 kB / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.005938, allocations: 279.7 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.006081, allocations: 39.05 kB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.006104, allocations: 15.69 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.006122, allocations: 7.938 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.006144, allocations: 33.39 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.006145, allocations: 0 / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000314/0.006459, allocations: 105.5 kB / 380.7 MB, free: 100 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.006495, allocations: 77.11 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.006625, allocations: 195.8 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.006635, allocations: 25.7 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.006684, allocations: 146.9 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.006704, allocations: 23.84 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.006735, allocations: 27.36 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.006841, allocations: 0.4883 MB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.006858, allocations: 8 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.006892, allocations: 57.12 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.551e-05/0.006927, allocations: 23.69 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.006928, allocations: 0 / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.905e-05/0.006997, allocations: 61.62 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.007008, allocations: 4 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.007012, allocations: 3.938 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.007024, allocations: 0 / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.082e-05/0.007065, allocations: 15.92 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.00707, allocations: 4.031 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.00709, allocations: 7.953 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.007095, allocations: 0 / 381.9 MB, free: 14.85 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 (5): * Single equations (assignments): 5 * 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.962e-05/0.007154, allocations: 160.6 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.007176, allocations: 11.89 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.007277, allocations: 70.08 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.007278, allocations: 0 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.007281, allocations: 0 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.007284, allocations: 0 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.007543, allocations: 325.3 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.007544, allocations: 4 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.007581, allocations: 16.3 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007583, allocations: 0 / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.00759, allocations: 4 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007591, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.007592, allocations: 0 / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.007695, allocations: 215.8 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.007704, allocations: 3.953 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.007718, allocations: 7.984 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.007757, allocations: 0 / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.007785, allocations: 8 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.007787, allocations: 0 / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.374e-05/0.007851, allocations: 157.5 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007851, allocations: 0 / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.008032, allocations: 39.86 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009545/0.008986, allocations: 486.7 kB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.355e-05/0.00908, allocations: 31.61 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.009082, allocations: 4 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.009106, allocations: 23.67 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.009301, allocations: 22.42 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.009584, allocations: 169.9 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.512e-05/0.009619, allocations: 63.34 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.254e-05/0.009662, allocations: 19.97 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.009696, allocations: 16.48 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009697, allocations: 0 / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003193/0.01289, allocations: 1.841 MB / 385.5 MB, free: 11.24 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.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.27507889107801]