Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001145/0.001145, allocations: 75.59 kB / 21.18 MB, free: 3.387 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.001301/0.001301, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9828/0.9828, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2846/0.2846, allocations: 32.8 MB / 294.3 MB, free: 1.266 MB / 266.7 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.037e-05, allocations: 2.312 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.005438/0.005458, allocations: 1.645 MB / 377.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008872/0.006345, allocations: 0.5298 MB / 378.2 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.006398, allocations: 0 / 378.2 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.00659, allocations: 27.78 kB / 378.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.006869, allocations: 83.55 kB / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.007069, allocations: 87.72 kB / 378.4 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.007198, allocations: 71.75 kB / 378.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.007287, allocations: 8 kB / 378.5 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.007337, allocations: 27.91 kB / 378.5 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.007387, allocations: 19.92 kB / 378.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.007401, allocations: 4 kB / 378.5 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.007465, allocations: 31.92 kB / 378.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.296e-05/0.007508, allocations: 15.92 kB / 378.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.007535, allocations: 11.94 kB / 378.6 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.007673, allocations: 79.67 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.007675, allocations: 0 / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007675, allocations: 0 / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.007679, allocations: 4 kB / 378.7 MB, free: 1.984 MB / 346.7 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.0003569/0.008036, allocations: 412.1 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.008071, allocations: 8.031 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.008104, allocations: 8.891 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.008234, allocations: 140.4 kB / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.008244, allocations: 4.375 kB / 379.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.008266, allocations: 4.375 kB / 379.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.008368, allocations: 58.88 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.008377, allocations: 4.188 kB / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.008388, allocations: 8.125 kB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.008395, allocations: 0 / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.951e-05/0.008424, allocations: 8 kB / 379.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.008681, allocations: 267.8 kB / 379.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.008827, allocations: 42.98 kB / 379.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.008849, allocations: 15.69 kB / 379.6 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.008872, allocations: 3.938 kB / 379.6 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.008893, allocations: 37.39 kB / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.008893, allocations: 4 kB / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000305/0.009198, allocations: 105.4 kB / 379.8 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.009227, allocations: 51.41 kB / 379.8 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.009345, allocations: 208.9 kB / 380 MB, free: 468 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.009356, allocations: 29.69 kB / 380.1 MB, free: 432 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.009408, allocations: 138.9 kB / 380.2 MB, free: 288 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.009426, allocations: 11.91 kB / 380.2 MB, free: 276 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.009455, allocations: 27.36 kB / 380.2 MB, free: 240 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.009596, allocations: 0.4961 MB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.009612, allocations: 4 kB / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.009625, allocations: 8 kB / 380.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.009658, allocations: 23.69 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.009659, allocations: 0 / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.794e-05/0.009727, allocations: 73.72 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.009739, allocations: 4 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.009743, allocations: 0 / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.009757, allocations: 0 / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.421e-05/0.009801, allocations: 19.92 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.009805, allocations: 0 / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.009821, allocations: 0 / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.009827, allocations: 4 kB / 380.9 MB, free: 15.58 MB / 362.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.717e-05/0.009904, allocations: 164.5 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.009924, allocations: 7.953 kB / 381 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.01004, allocations: 70.08 kB / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01004, allocations: 0 / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01005, allocations: 0 / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01005, allocations: 0 / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.01029, allocations: 325.3 kB / 381.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.0103, allocations: 0 / 381.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.01033, allocations: 15.92 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01033, allocations: 288 / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.01034, allocations: 12 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01034, allocations: 0 / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.01034, allocations: 0 / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.01046, allocations: 203.8 kB / 381.6 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.01047, allocations: 15.94 kB / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.01048, allocations: 256 / 381.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.172e-05/0.01051, allocations: 8 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.01054, allocations: 3.984 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.01055, allocations: 4 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.932e-05/0.01061, allocations: 159.1 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01061, allocations: 0 / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.01077, allocations: 15.94 kB / 381.9 MB, free: 14.52 MB / 362.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.0008401/0.01161, allocations: 378.2 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.571e-05/0.0117, allocations: 31.67 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.0117, allocations: 0 / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-05/0.01172, allocations: 19.62 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.01192, allocations: 23.92 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.01224, allocations: 178.5 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.132e-05/0.01228, allocations: 63.34 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.838e-05/0.01231, allocations: 11.97 kB / 382.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.01233, allocations: 20.5 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01233, allocations: 0 / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Templates: time 0.00279/0.01513, allocations: 1.159 MB / 383.7 MB, free: 12.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.3757492783479393]