Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001214/0.001214, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001011/0.001011, allocations: 168.7 kB / 24.91 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.9236/0.9236, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2352/0.2352, allocations: 34.27 MB / 296.1 MB, free: 0.707 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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.314e-05, allocations: 3.078 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.00185/0.001863, allocations: 1.654 MB / 326.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006826/0.002546, allocations: 0.5529 MB / 327.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.002593, allocations: 0 / 327.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.00282, allocations: 99.67 kB / 327.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.003044, allocations: 111.5 kB / 327.7 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.003255, allocations: 115.6 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.003379, allocations: 88.38 kB / 327.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.863e-05/0.003448, allocations: 15.98 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.003504, allocations: 47.88 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/0.003574, allocations: 47.89 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.003585, allocations: 4 kB / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.189e-05/0.003657, allocations: 51.84 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.003692, allocations: 15.94 kB / 328.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.003715, allocations: 19.92 kB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.003841, allocations: 95.59 kB / 328.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003843, allocations: 4 kB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003843, allocations: 0 / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.765e-06/0.003846, allocations: 4 kB / 328.2 MB, free: 4.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002775/0.004124, allocations: 317.5 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.64e-05/0.00415, allocations: 8.031 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.004177, allocations: 12.92 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.00429, allocations: 145.5 kB / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.004297, allocations: 384 / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.004314, allocations: 4.375 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.426e-05/0.004388, allocations: 54.95 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.004396, allocations: 4.141 kB / 328.7 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.004404, allocations: 12.05 kB / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.004408, allocations: 4 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.004426, allocations: 8 kB / 328.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.004618, allocations: 175 kB / 328.9 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.481e-05/0.004663, allocations: 37.45 kB / 328.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.004678, allocations: 12.86 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.004689, allocations: 0 / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.004708, allocations: 34.5 kB / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.004708, allocations: 0 / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003584/0.005067, allocations: 154 kB / 329.1 MB, free: 3.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.005092, allocations: 51.41 kB / 329.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.005197, allocations: 192.2 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.005207, allocations: 29.7 kB / 329.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.005236, allocations: 96.06 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.005256, allocations: 23.78 kB / 329.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.005283, allocations: 25.7 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.893e-05/0.005352, allocations: 322.8 kB / 329.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.005363, allocations: 8 kB / 329.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.005374, allocations: 4 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.005409, allocations: 39.64 kB / 329.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.005409, allocations: 0 / 329.9 MB, free: 2.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.798e-05/0.005467, allocations: 69.78 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.005476, allocations: 4 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.00548, allocations: 3.984 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.00549, allocations: 0 / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.005552, allocations: 12 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.005554, allocations: 0 / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.005573, allocations: 7.984 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.005578, allocations: 0 / 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 5.293e-05/0.005631, allocations: 120.7 kB / 330.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.005649, allocations: 11.94 kB / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.609e-05/0.005745, allocations: 86.95 kB / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.005747, allocations: 0 / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.005748, allocations: 0 / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.00575, allocations: 0 / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.005954, allocations: 255.5 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.005956, allocations: 0 / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.005986, allocations: 12 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.005988, allocations: 0 / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.005994, allocations: 12.02 kB / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005995, allocations: 0 / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.005996, allocations: 4 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.986e-05/0.006076, allocations: 164.2 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-06/0.006086, allocations: 11.91 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.006096, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.006129, allocations: 8 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.00615, allocations: 7.984 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.006153, allocations: 0 / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.098e-05/0.006194, allocations: 55.64 kB / 330.7 MB, free: 1.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006194, allocations: 0 / 330.7 MB, free: 1.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.006329, allocations: 27.94 kB / 330.8 MB, free: 1.902 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.001143/0.007472, allocations: 0.5813 MB / 331.4 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.007547, allocations: 36.78 kB / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.00755, allocations: 0 / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.007572, allocations: 24.78 kB / 331.4 MB, free: 1.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.007713, allocations: 26.89 kB / 331.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.00799, allocations: 239.5 kB / 331.7 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.664e-05/0.008027, allocations: 71.33 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.008059, allocations: 17.09 kB / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.008107, allocations: 63.31 kB / 331.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008107, allocations: 0 / 331.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of Templates: time 0.002789/0.0109, allocations: 1.528 MB / 333.3 MB, free: 15.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.8147014030255377]