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.001448/0.001448, allocations: 88.23 kB / 20.2 MB, free: 4.223 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.001568/0.001568, allocations: 157.7 kB / 23.51 MB, free: 0.918 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 1.55/1.55, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] 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.2452/0.2452, allocations: 32.37 MB / 270 MB, free: 14.64 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 1.443e-06/1.443e-06, allocations: 0 / 346.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.322e-05, allocations: 2.312 kB / 346.9 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.00224/0.002264, allocations: 1.611 MB / 348.5 MB, free: 8.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005261/0.00279, allocations: 331.4 kB / 348.9 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.002831, allocations: 0 / 348.9 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.003272, allocations: 459 kB / 349.3 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.003554, allocations: 259.4 kB / 349.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.003807, allocations: 99.78 kB / 349.7 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.003992, allocations: 167.6 kB / 349.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.004091, allocations: 12.17 kB / 349.8 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.004212, allocations: 115.8 kB / 350 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.004406, allocations: 243.6 kB / 350.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.004429, allocations: 4 kB / 350.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.392e-05/0.004503, allocations: 27.94 kB / 350.2 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.913e-05/0.004602, allocations: 87.69 kB / 350.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.004647, allocations: 39.69 kB / 350.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.004882, allocations: 243.1 kB / 350.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004885, allocations: 0 / 350.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.004886, allocations: 0 / 350.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.004891, allocations: 0 / 350.6 MB, free: 6.109 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.0005393/0.00543, allocations: 0.5699 MB / 351.2 MB, free: 5.508 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.005463, allocations: 8.031 kB / 351.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.436e-05/0.005537, allocations: 48.61 kB / 351.2 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.005731, allocations: 234 kB / 351.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.005745, allocations: 8.375 kB / 351.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.005769, allocations: 384 / 351.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.005923, allocations: 66.22 kB / 351.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.005935, allocations: 192 / 351.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005945, allocations: 3.938 kB / 351.5 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.00595, allocations: 4 kB / 351.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.00607, allocations: 31.97 kB / 351.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.006376, allocations: 332.3 kB / 351.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.006503, allocations: 42.5 kB / 351.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.835e-05/0.006571, allocations: 24.94 kB / 351.9 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.006597, allocations: 4 kB / 351.9 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.006615, allocations: 34.55 kB / 352 MB, free: 4.602 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.006616, allocations: 0 / 352 MB, free: 4.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007168/0.007332, allocations: 284.7 kB / 352.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.007353, allocations: 55.41 kB / 352.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.00789, allocations: 0.8573 MB / 353.2 MB, free: 3.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.007898, allocations: 25.7 kB / 353.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/0.007995, allocations: 212 kB / 353.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.00802, allocations: 31.8 kB / 353.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.008054, allocations: 21.7 kB / 353.5 MB, free: 3.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.11e-05/0.008115, allocations: 358.7 kB / 353.8 MB, free: 2.723 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.816e-05/0.008213, allocations: 35.97 kB / 353.8 MB, free: 2.688 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.764e-05/0.008301, allocations: 35.97 kB / 353.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.008491, allocations: 68.81 kB / 353.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.008492, allocations: 0 / 353.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002406/0.008732, allocations: 145.6 kB / 354.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.008744, allocations: 12 kB / 354.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.008748, allocations: 0 / 354.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.008766, allocations: 0 / 354.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.008871, allocations: 23.92 kB / 354.1 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.008875, allocations: 0 / 354.1 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.008941, allocations: 11.98 kB / 354.1 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.008949, allocations: 4 kB / 354.1 MB, free: 2.383 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 0.0001234/0.009073, allocations: 217.7 kB / 354.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.00912, allocations: 47.67 kB / 354.4 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.009437, allocations: 165.5 kB / 354.6 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.00944, allocations: 4 kB / 354.6 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.009445, allocations: 0 / 354.6 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.009449, allocations: 7.922 kB / 354.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.00992, allocations: 426.1 kB / 355 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009922, allocations: 4 kB / 355 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.441e-05/0.009996, allocations: 23.98 kB / 355 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.009998, allocations: 0 / 355 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.01001, allocations: 0 / 355 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01001, allocations: 0 / 355 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01001, allocations: 4 kB / 355 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.01028, allocations: 247.4 kB / 355.3 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.01032, allocations: 39.66 kB / 355.3 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.01035, allocations: 7.984 kB / 355.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.01044, allocations: 11.98 kB / 355.3 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.0105, allocations: 7.984 kB / 355.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.0105, allocations: 4 kB / 355.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004292/0.01093, allocations: 0.6433 MB / 356 MB, free: 492 kB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01093, allocations: 0 / 356 MB, free: 492 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.01119, allocations: 31.86 kB / 356 MB, free: 460 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.001814/0.013, allocations: 435.8 kB / 356.4 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.01327, allocations: 71.89 kB / 356.5 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01327, allocations: 0 / 356.5 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.927e-05/0.01337, allocations: 35.97 kB / 356.5 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.01382, allocations: 34.75 kB / 356.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.01514, allocations: 0.8227 MB / 357.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.01544, allocations: 224.1 kB / 357.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.404e-05/0.01549, allocations: 8.297 kB / 357.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.01554, allocations: 12.5 kB / 357.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01554, allocations: 0 / 357.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Templates: time 0.005712/0.02125, allocations: 1.463 MB / 359.1 MB, free: 13.42 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9806929470505565]