Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.002679/0.002679, allocations: 92.97 kB / 20.21 MB, free: 4.203 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.003303/0.003303, allocations: 169.2 kB / 23.53 MB, free: 0.8906 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.377/1.377, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.2079/0.2079, 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.62e-05/4.858e-05, allocations: 2.312 kB / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.003327/0.003376, allocations: 1.618 MB / 348.6 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00062/0.003996, allocations: 319.4 kB / 348.9 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.00405, allocations: 0 / 348.9 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.004568, allocations: 459 kB / 349.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.004908, allocations: 251.4 kB / 349.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.005178, allocations: 103.8 kB / 349.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.005372, allocations: 155.7 kB / 349.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.005496, allocations: 16.17 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.005634, allocations: 123.7 kB / 350 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.005871, allocations: 239.6 kB / 350.2 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.005903, allocations: 0 / 350.2 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.006003, allocations: 27.94 kB / 350.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.006132, allocations: 87.7 kB / 350.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.006186, allocations: 35.73 kB / 350.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.006494, allocations: 231.1 kB / 350.6 MB, free: 6.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.0065, allocations: 4 kB / 350.6 MB, free: 6.141 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.006502, allocations: 0 / 350.6 MB, free: 6.141 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.006511, allocations: 3.984 kB / 350.6 MB, free: 6.137 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.0007796/0.007291, allocations: 0.7007 MB / 351.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.007343, allocations: 8.031 kB / 351.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.631e-05/0.007429, allocations: 48.66 kB / 351.3 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.007724, allocations: 244.9 kB / 351.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.007738, allocations: 384 / 351.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.007763, allocations: 4.375 kB / 351.6 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.007907, allocations: 54.17 kB / 351.6 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.007926, allocations: 8.188 kB / 351.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.00794, allocations: 7.938 kB / 351.6 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.007946, allocations: 0 / 351.6 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.008027, allocations: 19.98 kB / 351.7 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.008646, allocations: 455.6 kB / 352.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.008924, allocations: 54.92 kB / 352.2 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.008972, allocations: 19.69 kB / 352.2 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.009, allocations: 0 / 352.2 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.009023, allocations: 37.47 kB / 352.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.009024, allocations: 4 kB / 352.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000641/0.009665, allocations: 212.7 kB / 352.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.009691, allocations: 51.41 kB / 352.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.0102, allocations: 0.6628 MB / 353.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.01021, allocations: 25.7 kB / 353.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.01037, allocations: 294.8 kB / 353.5 MB, free: 3.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.0104, allocations: 23.78 kB / 353.5 MB, free: 3.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.01044, allocations: 23.38 kB / 353.5 MB, free: 3.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.01059, allocations: 0.5703 MB / 354.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.152e-05/0.01065, allocations: 19.98 kB / 354.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.01069, allocations: 15.98 kB / 354.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.87e-05/0.01078, allocations: 47.61 kB / 354.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.01078, allocations: 0 / 354.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001552/0.01093, allocations: 105.4 kB / 354.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.01095, allocations: 4 kB / 354.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01096, allocations: 0 / 354.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.01098, allocations: 4.25 kB / 354.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.01104, allocations: 11.98 kB / 354.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.01105, allocations: 8 kB / 354.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.01109, allocations: 4 kB / 354.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.0111, allocations: 7.938 kB / 354.3 MB, free: 2.207 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 8.566e-05/0.01118, allocations: 164.5 kB / 354.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.01124, allocations: 43.72 kB / 354.5 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.01147, allocations: 109.1 kB / 354.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01147, allocations: 288 / 354.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01147, allocations: 0 / 354.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01148, allocations: 4 kB / 354.6 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.01197, allocations: 0.5129 MB / 355.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01197, allocations: 3.984 kB / 355.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.01202, allocations: 8 kB / 355.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01202, allocations: 0 / 355.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.01203, allocations: 0 / 355.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01203, allocations: 0 / 355.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01203, allocations: 0 / 355.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.01222, allocations: 267.6 kB / 355.4 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.01226, allocations: 31.72 kB / 355.4 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.01229, allocations: 8 kB / 355.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.705e-05/0.01236, allocations: 7.922 kB / 355.4 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.01243, allocations: 4.188 kB / 355.5 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.01243, allocations: 4 kB / 355.5 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003253/0.01276, allocations: 438.8 kB / 355.9 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01276, allocations: 0 / 355.9 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.01301, allocations: 23.94 kB / 355.9 MB, free: 0.5234 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.003035/0.01605, allocations: 432.7 kB / 356.3 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003598/0.01641, allocations: 51.67 kB / 356.4 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.01641, allocations: 0 / 356.4 MB, free: 156 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.483e-05/0.01647, allocations: 31.61 kB / 356.4 MB, free: 120 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.01697, allocations: 30.7 kB / 356.4 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.01823, allocations: 0.5784 MB / 357 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.01849, allocations: 204.1 kB / 357.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.942e-05/0.01855, allocations: 15.98 kB / 357.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.01861, allocations: 12.5 kB / 357.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of SimCode: time 1.553e-06/0.01861, allocations: 0 / 357.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of Templates: time 0.006408/0.02502, allocations: 1.309 MB / 358.6 MB, free: 13.93 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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: 5.136071740067564]