Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001178/0.001178, allocations: 76.22 kB / 20.65 MB, free: 3.848 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.001333/0.001333, allocations: 177 kB / 24.06 MB, free: 452 kB / 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.9881/0.9881, allocations: 158.6 MB / 185.9 MB, free: 2.785 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.1445/0.1445, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.147e-05, allocations: 6.25 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.005207/0.005228, allocations: 1.642 MB / 349.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005758/0.005804, allocations: 343.1 kB / 350.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.005873, allocations: 0 / 350.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.006138, allocations: 63.72 kB / 350.2 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.006301, allocations: 59.75 kB / 350.2 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.006583, allocations: 151.6 kB / 350.4 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.00671, allocations: 79.75 kB / 350.5 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.0068, allocations: 12 kB / 350.5 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.238e-05/0.006862, allocations: 43.89 kB / 350.5 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.006938, allocations: 43.89 kB / 350.5 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.006954, allocations: 4 kB / 350.6 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.549e-05/0.007019, allocations: 31.92 kB / 350.6 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.007071, allocations: 23.91 kB / 350.6 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.007095, allocations: 11.94 kB / 350.6 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.007225, allocations: 83.67 kB / 350.7 MB, free: 6.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.007228, allocations: 0 / 350.7 MB, free: 6.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007229, allocations: 0 / 350.7 MB, free: 6.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.007232, allocations: 0 / 350.7 MB, free: 6.578 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.003307/0.01054, allocations: 436 kB / 351.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.01057, allocations: 8.031 kB / 351.1 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.01061, allocations: 16.89 kB / 351.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.879e-05/0.0107, allocations: 137 kB / 351.3 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.0107, allocations: 4.375 kB / 351.3 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.01072, allocations: 4.375 kB / 351.3 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.32e-05/0.0108, allocations: 62.64 kB / 351.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.01081, allocations: 0 / 351.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.01081, allocations: 0 / 351.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.01082, allocations: 7.984 kB / 351.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.01084, allocations: 4 kB / 351.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.01104, allocations: 276.3 kB / 351.6 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.075e-05/0.01109, allocations: 46.91 kB / 351.7 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.0111, allocations: 11.69 kB / 351.7 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.01112, allocations: 4 kB / 351.7 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.01114, allocations: 33.39 kB / 351.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.01114, allocations: 0 / 351.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002961/0.01143, allocations: 109.6 kB / 351.8 MB, free: 5.312 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.424e-05/0.01145, allocations: 51.41 kB / 351.9 MB, free: 5.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.01154, allocations: 218.9 kB / 352.1 MB, free: 5.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.01154, allocations: 29.7 kB / 352.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.01157, allocations: 154.7 kB / 352.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.01159, allocations: 23.84 kB / 352.3 MB, free: 4.805 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.01162, allocations: 23.36 kB / 352.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.01166, allocations: 0.5 MB / 352.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.01168, allocations: 12 kB / 352.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.01169, allocations: 12 kB / 352.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.586e-05/0.01173, allocations: 35.59 kB / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01173, allocations: 0 / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.643e-05/0.01181, allocations: 61.66 kB / 352.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.01182, allocations: 8 kB / 353 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01182, allocations: 3.984 kB / 353 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.01183, allocations: 0 / 353 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.0119, allocations: 12 kB / 353 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.0119, allocations: 0 / 353 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.01193, allocations: 7.984 kB / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.01193, allocations: 4 kB / 353 MB, free: 4.098 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 4.215e-05/0.01198, allocations: 164.5 kB / 353.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.012, allocations: 15.91 kB / 353.2 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.745e-05/0.0121, allocations: 78.44 kB / 353.2 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.0121, allocations: 4 kB / 353.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.0121, allocations: 0 / 353.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01211, allocations: 3.984 kB / 353.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.0123, allocations: 317.9 kB / 353.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.01231, allocations: 0 / 353.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.01235, allocations: 15.98 kB / 353.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.01235, allocations: 0 / 353.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.01235, allocations: 4 kB / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.01236, allocations: 0 / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01236, allocations: 0 / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.137e-05/0.01244, allocations: 219.8 kB / 353.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.01244, allocations: 7.953 kB / 353.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.01246, allocations: 4 kB / 353.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.118e-05/0.01251, allocations: 7.984 kB / 353.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.01254, allocations: 7.984 kB / 353.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.01254, allocations: 0 / 353.8 MB, free: 3.199 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.82e-05/0.01258, allocations: 155.8 kB / 354 MB, free: 3.047 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01258, allocations: 0 / 354 MB, free: 3.047 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.01279, allocations: 27.92 kB / 354 MB, free: 3.02 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 (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.001908/0.0147, allocations: 381.6 kB / 354.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.01482, allocations: 43.53 kB / 354.4 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.01482, allocations: 0 / 354.4 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/0.01485, allocations: 31.67 kB / 354.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.01507, allocations: 21.19 kB / 354.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.01542, allocations: 206.7 kB / 354.7 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.971e-05/0.01545, allocations: 67.34 kB / 354.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.93e-05/0.01549, allocations: 11.98 kB / 354.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.01554, allocations: 82.2 kB / 354.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01554, allocations: 0 / 354.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of Templates: time 0.00274/0.01828, allocations: 1.458 MB / 356.3 MB, free: 0.7734 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.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.1578106181696057]