Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001321/0.001321, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 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.001589/0.001589, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 44.91 MB / 359.6 MB, free: 6.309 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.89 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3329, allocations: 65.47 MB / 0.5583 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.00339/0.3363, allocations: 1.62 MB / 0.5598 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3374, allocations: 0.5542 MB / 0.5604 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.3375, allocations: 0 / 0.5604 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.3377, allocations: 23.84 kB / 0.5604 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.338, allocations: 87.62 kB / 0.5605 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.3383, allocations: 103.7 kB / 0.5606 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.3384, allocations: 75.75 kB / 0.5607 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3385, allocations: 8 kB / 0.5607 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.974e-05/0.3386, allocations: 19.92 kB / 0.5607 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.3387, allocations: 27.84 kB / 0.5607 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3387, allocations: 4 kB / 0.5607 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.3388, allocations: 39.92 kB / 0.5608 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.3388, allocations: 7.938 kB / 0.5608 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.3389, allocations: 27.81 kB / 0.5608 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.3391, allocations: 93.97 kB / 0.5609 GB, free: 5.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3391, allocations: 0 / 0.5609 GB, free: 5.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3391, allocations: 0 / 0.5609 GB, free: 5.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3391, allocations: 0 / 0.5609 GB, free: 5.055 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004774/0.3396, allocations: 317.8 kB / 0.5612 GB, free: 4.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3396, allocations: 8.031 kB / 0.5612 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.3396, allocations: 8.891 kB / 0.5612 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.3398, allocations: 130.4 kB / 0.5613 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.3398, allocations: 8.375 kB / 0.5613 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.3398, allocations: 384 / 0.5613 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.34, allocations: 57.73 kB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.34, allocations: 0 / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.34, allocations: 4 kB / 0.5614 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.34, allocations: 0 / 0.5614 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.681e-05/0.3401, allocations: 23.98 kB / 0.5614 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.3405, allocations: 263.9 kB / 0.5617 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.3408, allocations: 42.5 kB / 0.5617 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.3408, allocations: 20.94 kB / 0.5617 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3409, allocations: 0 / 0.5617 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.3409, allocations: 34.56 kB / 0.5618 GB, free: 4.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.3409, allocations: 0 / 0.5618 GB, free: 4.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005844/0.3415, allocations: 161.3 kB / 0.5619 GB, free: 3.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3415, allocations: 51.41 kB / 0.562 GB, free: 3.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.3417, allocations: 163.4 kB / 0.5621 GB, free: 3.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.3417, allocations: 29.7 kB / 0.5621 GB, free: 3.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.3418, allocations: 96.12 kB / 0.5622 GB, free: 3.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.3418, allocations: 15.86 kB / 0.5623 GB, free: 3.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.3418, allocations: 21.72 kB / 0.5623 GB, free: 3.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.342, allocations: 322.8 kB / 0.5626 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/0.342, allocations: 23.92 kB / 0.5626 GB, free: 3.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.3421, allocations: 23.97 kB / 0.5626 GB, free: 3.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.3423, allocations: 48.83 kB / 0.5627 GB, free: 3.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3423, allocations: 4 kB / 0.5627 GB, free: 3.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002157/0.3425, allocations: 89.56 kB / 0.5628 GB, free: 2.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3425, allocations: 4 kB / 0.5628 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3425, allocations: 0 / 0.5628 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3425, allocations: 7.984 kB / 0.5628 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.3426, allocations: 8 kB / 0.5628 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3426, allocations: 0 / 0.5628 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.3426, allocations: 15.86 kB / 0.5628 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.3426, allocations: 0 / 0.5628 GB, free: 2.906 MB / 398.1 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 9.632e-05/0.3427, allocations: 125.8 kB / 0.5629 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.3428, allocations: 7.953 kB / 0.5629 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.343, allocations: 106 kB / 0.563 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.343, allocations: 288 / 0.563 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.343, allocations: 0 / 0.563 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.343, allocations: 7.922 kB / 0.563 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.3435, allocations: 330 kB / 0.5634 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3435, allocations: 7.938 kB / 0.5634 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.3436, allocations: 15.98 kB / 0.5634 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3436, allocations: 0 / 0.5634 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3436, allocations: 3.938 kB / 0.5634 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3436, allocations: 4 kB / 0.5634 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3436, allocations: 0 / 0.5634 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.3439, allocations: 183.5 kB / 0.5636 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.3439, allocations: 3.953 kB / 0.5636 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.3439, allocations: 3.938 kB / 0.5636 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.344, allocations: 11.98 kB / 0.5636 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.344, allocations: 4 kB / 0.5636 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.344, allocations: 0 / 0.5636 GB, free: 2.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.3441, allocations: 125.7 kB / 0.5637 GB, free: 1.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3441, allocations: 0 / 0.5637 GB, free: 1.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.3444, allocations: 23.88 kB / 0.5637 GB, free: 1.871 MB / 398.1 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.00158/0.346, allocations: 420.2 kB / 0.5641 GB, free: 1.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.3462, allocations: 43.97 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3462, allocations: 0 / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.3463, allocations: 31.91 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.3467, allocations: 12 kB / 0.5642 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.3472, allocations: 231.8 kB / 0.5644 GB, free: 1.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3476, allocations: 0.6963 MB / 0.5651 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.3476, allocations: 15.44 kB / 0.5651 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3476, allocations: 0 / 0.5651 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of Templates: time 0.003563/0.3512, allocations: 1.481 MB / 0.5666 GB, free: 15.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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: 7.819119137013331]