Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.001885/0.001885, allocations: 96.97 kB / 20.21 MB, free: 4.211 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.001929/0.001929, allocations: 169.6 kB / 23.53 MB, free: 0.8984 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.332/1.332, allocations: 158.6 MB / 185.3 MB, free: 2.91 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.2046/0.2046, allocations: 32.37 MB / 270 MB, free: 14.77 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.697e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002268/0.002295, allocations: 1.62 MB / 348.6 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005347/0.00283, allocations: 315.4 kB / 348.9 MB, free: 7.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.002875, allocations: 0 / 348.9 MB, free: 7.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.003341, allocations: 455 kB / 349.3 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.003637, allocations: 259.4 kB / 349.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.003865, allocations: 99.78 kB / 349.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.004033, allocations: 159.6 kB / 349.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.004124, allocations: 16.17 kB / 349.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.004243, allocations: 119.8 kB / 350 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.004451, allocations: 235.6 kB / 350.2 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.004482, allocations: 4 kB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/0.004564, allocations: 31.94 kB / 350.2 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.329e-05/0.004657, allocations: 79.7 kB / 350.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.004697, allocations: 39.73 kB / 350.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.004929, allocations: 227.1 kB / 350.6 MB, free: 6.164 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.004932, allocations: 8 kB / 350.6 MB, free: 6.156 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004933, allocations: 0 / 350.6 MB, free: 6.156 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.004937, allocations: 0 / 350.6 MB, free: 6.156 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.0006317/0.005569, allocations: 0.7046 MB / 351.3 MB, free: 5.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.005606, allocations: 15.97 kB / 351.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.005672, allocations: 44.66 kB / 351.3 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.005886, allocations: 240.9 kB / 351.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.005898, allocations: 384 / 351.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.005919, allocations: 8.375 kB / 351.6 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.006045, allocations: 58.17 kB / 351.6 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.006058, allocations: 4.188 kB / 351.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.006071, allocations: 3.938 kB / 351.6 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.006075, allocations: 0 / 351.6 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.111e-05/0.006156, allocations: 19.98 kB / 351.7 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.006645, allocations: 459.6 kB / 352.1 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.006861, allocations: 58.92 kB / 352.2 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.006899, allocations: 11.69 kB / 352.2 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.006917, allocations: 0 / 352.2 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.006933, allocations: 45.47 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.006934, allocations: 4 kB / 352.2 MB, free: 4.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004961/0.00743, allocations: 208.7 kB / 352.4 MB, free: 4.156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.007454, allocations: 55.41 kB / 352.5 MB, free: 4.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/0.007902, allocations: 0.6628 MB / 353.1 MB, free: 3.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.007911, allocations: 25.7 kB / 353.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.008066, allocations: 290.8 kB / 353.5 MB, free: 3.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.008087, allocations: 23.78 kB / 353.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.008121, allocations: 27.38 kB / 353.5 MB, free: 3.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.008258, allocations: 0.5664 MB / 354.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.00831, allocations: 19.98 kB / 354.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.964e-05/0.00835, allocations: 12 kB / 354.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/0.008435, allocations: 47.61 kB / 354.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.008435, allocations: 0 / 354.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001417/0.008577, allocations: 109.4 kB / 354.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.008589, allocations: 8 kB / 354.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.008594, allocations: 0 / 354.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.008609, allocations: 0 / 354.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/0.008659, allocations: 11.98 kB / 354.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.008664, allocations: 4 kB / 354.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.008706, allocations: 4 kB / 354.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.008712, allocations: 256 / 354.3 MB, free: 2.23 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 (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 7.003e-05/0.008782, allocations: 172.4 kB / 354.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.008825, allocations: 43.72 kB / 354.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.009028, allocations: 117.1 kB / 354.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.00903, allocations: 288 / 354.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.009033, allocations: 0 / 354.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.009037, allocations: 0 / 354.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.009498, allocations: 0.5129 MB / 355.1 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.009501, allocations: 3.984 kB / 355.1 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.009543, allocations: 8 kB / 355.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.009544, allocations: 0 / 355.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.009551, allocations: 4 kB / 355.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.009553, allocations: 0 / 355.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009553, allocations: 0 / 355.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.009717, allocations: 263.5 kB / 355.4 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.00976, allocations: 35.72 kB / 355.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.009784, allocations: 4 kB / 355.4 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.009853, allocations: 11.98 kB / 355.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.009893, allocations: 0 / 355.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.009897, allocations: 0 / 355.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003869/0.01028, allocations: 438.8 kB / 355.9 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01028, allocations: 0 / 355.9 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.01052, allocations: 23.94 kB / 355.9 MB, free: 0.5391 MB / 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 (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.002724/0.01325, allocations: 434 kB / 356.3 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.01341, allocations: 47.67 kB / 356.4 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01341, allocations: 4 kB / 356.4 MB, free: 164 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.01347, allocations: 35.61 kB / 356.4 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.0138, allocations: 23.58 kB / 356.4 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.01481, allocations: 0.5782 MB / 357 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.01505, allocations: 204.1 kB / 357.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.118e-05/0.01509, allocations: 11.98 kB / 357.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.01512, allocations: 12.5 kB / 357.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01512, allocations: 4 kB / 357.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of Templates: time 0.00545/0.02057, allocations: 1.31 MB / 358.5 MB, free: 13.94 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.841218076064251]