Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001295/0.001295, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001008/0.001008, allocations: 172.6 kB / 24.92 MB, free: 8.727 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.9733/0.9733, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.247/0.247, allocations: 34.26 MB / 296.1 MB, free: 0.7383 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.706e-05, allocations: 4.031 kB / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001974/0.001991, allocations: 1.645 MB / 326.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.002727, allocations: 0.5374 MB / 327.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.002775, allocations: 4 kB / 327.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.002949, allocations: 23.84 kB / 327.5 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.003167, allocations: 75.56 kB / 327.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.003385, allocations: 127.5 kB / 327.7 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.003495, allocations: 59.84 kB / 327.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.758e-05/0.003562, allocations: 11.98 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.937e-05/0.003612, allocations: 35.84 kB / 327.8 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.003657, allocations: 15.98 kB / 327.8 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.003668, allocations: 4 kB / 327.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.372e-05/0.003722, allocations: 27.98 kB / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.003756, allocations: 11.94 kB / 327.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.003779, allocations: 19.91 kB / 327.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.003887, allocations: 75.69 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-06/0.003888, allocations: 0 / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003889, allocations: 0 / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.003891, allocations: 0 / 327.9 MB, free: 5.016 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002748/0.004166, allocations: 297.7 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.004198, allocations: 8.031 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.004223, allocations: 4.938 kB / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.004331, allocations: 140.4 kB / 328.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-06/0.004337, allocations: 384 / 328.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.004355, allocations: 8.312 kB / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.435e-05/0.004429, allocations: 54.95 kB / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004436, allocations: 192 / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.004444, allocations: 4.125 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.004449, allocations: 3.984 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.004467, allocations: 8 kB / 328.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.004643, allocations: 167.6 kB / 328.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.004752, allocations: 33.33 kB / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.285e-05/0.004765, allocations: 8.859 kB / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.004779, allocations: 4.078 kB / 328.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.004797, allocations: 30.56 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.004797, allocations: 8 kB / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003521/0.00515, allocations: 85.55 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.005174, allocations: 51.41 kB / 328.8 MB, free: 4.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.844e-05/0.005252, allocations: 151.5 kB / 329 MB, free: 3.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.005261, allocations: 29.7 kB / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.005289, allocations: 100 kB / 329.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.005304, allocations: 7.906 kB / 329.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.005328, allocations: 21.7 kB / 329.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.005392, allocations: 322.8 kB / 329.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.005402, allocations: 4 kB / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.005411, allocations: 11.98 kB / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/0.005436, allocations: 19.62 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.005437, allocations: 0 / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.712e-05/0.005484, allocations: 57.8 kB / 329.5 MB, free: 3.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.005493, allocations: 4 kB / 329.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.005496, allocations: 3.938 kB / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.005507, allocations: 0 / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.083e-05/0.005537, allocations: 8 kB / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.00554, allocations: 0 / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.005557, allocations: 11.98 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.005561, allocations: 0 / 329.6 MB, free: 3.223 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 (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.105e-05/0.005612, allocations: 120.6 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.005627, allocations: 7.938 kB / 329.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.005704, allocations: 58.14 kB / 329.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.005705, allocations: 0 / 329.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.005707, allocations: 0 / 329.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.005709, allocations: 0 / 329.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.005869, allocations: 226.6 kB / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.00587, allocations: 0 / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/0.005893, allocations: 11.98 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.005895, allocations: 4 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-06/0.005899, allocations: 0 / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.0059, allocations: 0 / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.0059, allocations: 0 / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.384e-05/0.005964, allocations: 147.5 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.005971, allocations: 7.938 kB / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-06/0.00598, allocations: 256 / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.006008, allocations: 4 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.00603, allocations: 7.938 kB / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.006036, allocations: 7.984 kB / 330.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.723e-05/0.006064, allocations: 38.84 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006064, allocations: 4 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001264/0.00619, allocations: 19.94 kB / 330.2 MB, free: 2.512 MB / 298.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.0009849/0.007175, allocations: 0.4891 MB / 330.7 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.858e-05/0.007234, allocations: 24.78 kB / 330.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.007239, allocations: 11.94 kB / 330.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/0.007255, allocations: 16.8 kB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.007392, allocations: 26.36 kB / 330.8 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.007633, allocations: 171.2 kB / 330.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.007665, allocations: 67.33 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.67e-05/0.007692, allocations: 11.98 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.007737, allocations: 63.36 kB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.007737, allocations: 0 / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of Templates: time 0.002475/0.01021, allocations: 1.248 MB / 332.3 MB, free: 0.6055 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.7948311869986355]