Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.001152/0.001152, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009477/0.0009477, allocations: 169 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8867/0.8867, allocations: 158.6 MB / 185.7 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1379/0.1379, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.687e-05, allocations: 10.25 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.002957/0.002994, allocations: 1.652 MB / 349.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006368/0.003631, allocations: 331.3 kB / 349.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.003695, allocations: 0 / 349.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.004281, allocations: 459 kB / 350.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.004639, allocations: 255.4 kB / 350.4 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.004936, allocations: 107.7 kB / 350.5 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.005153, allocations: 163.6 kB / 350.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.00526, allocations: 16.11 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.005387, allocations: 119.8 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.005599, allocations: 239.6 kB / 351 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.005624, allocations: 4 kB / 351 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.00571, allocations: 27.98 kB / 351 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.005819, allocations: 91.64 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.005861, allocations: 31.75 kB / 351.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.00611, allocations: 199.1 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006113, allocations: 0 / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006114, allocations: 8 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.00612, allocations: 0 / 351.3 MB, free: 5.766 MB / 282.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.0006285/0.006748, allocations: 0.6854 MB / 352 MB, free: 5.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.006789, allocations: 8.031 kB / 352 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.006857, allocations: 48.61 kB / 352.1 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.007078, allocations: 237 kB / 352.3 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.007089, allocations: 4.375 kB / 352.3 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.007123, allocations: 8.359 kB / 352.3 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.007268, allocations: 62.89 kB / 352.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.007278, allocations: 192 / 352.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.007291, allocations: 7.938 kB / 352.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.007299, allocations: 4 kB / 352.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.00734, allocations: 7.984 kB / 352.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.00777, allocations: 423.6 kB / 352.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.968e-05/0.00786, allocations: 46.92 kB / 352.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.007889, allocations: 11.69 kB / 352.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.007915, allocations: 7.938 kB / 352.9 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.007934, allocations: 37.38 kB / 352.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.007935, allocations: 0 / 352.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004949/0.00843, allocations: 212.9 kB / 353.1 MB, free: 3.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.008454, allocations: 51.41 kB / 353.2 MB, free: 3.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000496/0.00895, allocations: 0.6238 MB / 353.8 MB, free: 3.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.008959, allocations: 25.7 kB / 353.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.009117, allocations: 290.7 kB / 354.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.009141, allocations: 15.86 kB / 354.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.009176, allocations: 27.38 kB / 354.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.009285, allocations: 0.5547 MB / 354.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.009311, allocations: 4 kB / 354.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/0.009336, allocations: 15.98 kB / 354.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.177e-05/0.009388, allocations: 31.62 kB / 354.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.009389, allocations: 0 / 354.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000123/0.009512, allocations: 105.6 kB / 354.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.009527, allocations: 8 kB / 354.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.009531, allocations: 0 / 354.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.009549, allocations: 0 / 354.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-05/0.009647, allocations: 15.98 kB / 354.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.009652, allocations: 0 / 354.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.009697, allocations: 4 kB / 354.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.009706, allocations: 8 kB / 354.9 MB, free: 1.996 MB / 282.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 (7): * Single equations (assignments): 7 * 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.33e-05/0.009769, allocations: 168.5 kB / 355.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.009816, allocations: 47.67 kB / 355.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.009978, allocations: 113.5 kB / 355.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.009984, allocations: 0 / 355.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.009988, allocations: 0 / 355.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.009991, allocations: 0 / 355.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.01038, allocations: 481.2 kB / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01039, allocations: 0 / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.01044, allocations: 15.98 kB / 355.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01045, allocations: 0 / 355.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.01045, allocations: 8 kB / 355.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01045, allocations: 3.938 kB / 355.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01046, allocations: 0 / 355.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.01058, allocations: 259.5 kB / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.01061, allocations: 31.72 kB / 356 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.01063, allocations: 3.984 kB / 356 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.0107, allocations: 4 kB / 356 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.01074, allocations: 7.984 kB / 356 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.01075, allocations: 4 kB / 356 MB, free: 0.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000311/0.01106, allocations: 426.8 kB / 356.4 MB, free: 388 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01106, allocations: 4 kB / 356.4 MB, free: 384 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002889/0.01135, allocations: 23.94 kB / 356.5 MB, free: 360 kB / 282.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 (7): * Single equations (assignments): 7 * 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.0009505/0.0123, allocations: 374.4 kB / 356.8 MB, free: 76 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.01241, allocations: 47.59 kB / 356.9 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01242, allocations: 0 / 356.9 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.474e-05/0.01245, allocations: 19.84 kB / 356.9 MB, free: 0 / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.01283, allocations: 31.36 kB / 356.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/0.01368, allocations: 0.5862 MB / 357.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.01379, allocations: 119.2 kB / 357.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.332e-05/0.01383, allocations: 12 kB / 357.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.01388, allocations: 16.5 kB / 357.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01388, allocations: 0 / 357.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of Templates: time 0.004309/0.01819, allocations: 1.481 MB / 359.1 MB, free: 13.72 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.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.1243592081591487]