Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.001164/0.001164, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001964/0.003128, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.00138/0.00138, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001743/0.003124, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9392/0.9392, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1456/1.085, allocations: 49.49 MB / 220.7 MB, free: 1.367 MB / 218.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.1261/0.1261, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02095/0.1471, allocations: 12.31 MB / 266.1 MB, free: 3.879 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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,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.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.476e-05, allocations: 6.25 kB / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.00355/0.003585, allocations: 1.685 MB / 269.1 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006765/0.004262, allocations: 347.2 kB / 269.4 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.004332, allocations: 3.938 kB / 269.4 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.004907, allocations: 491 kB / 269.9 MB, free: 12 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.005336, allocations: 271.4 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.005654, allocations: 107.7 kB / 270.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.00593, allocations: 163.6 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.00603, allocations: 4.188 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.006327, allocations: 155.8 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.006572, allocations: 187.7 kB / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.0066, allocations: 7.938 kB / 270.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.006721, allocations: 31.92 kB / 270.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.006835, allocations: 83.66 kB / 270.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.006879, allocations: 35.75 kB / 270.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.007206, allocations: 187.2 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-05/0.007229, allocations: 4 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.007232, allocations: 0 / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.951e-05/0.007251, allocations: 0 / 271.1 MB, free: 14.8 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.0008804/0.008131, allocations: 0.5721 MB / 271.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.008187, allocations: 12.03 kB / 271.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.231e-05/0.008279, allocations: 24.91 kB / 271.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.008595, allocations: 246 kB / 272 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.008614, allocations: 4.375 kB / 272 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.008654, allocations: 4.375 kB / 272 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.008827, allocations: 58.94 kB / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.00884, allocations: 192 / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.008851, allocations: 3.938 kB / 272 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.00886, allocations: 7.938 kB / 272.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/0.008892, allocations: 11.97 kB / 272.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.009284, allocations: 164.2 kB / 272.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.009506, allocations: 38.62 kB / 272.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.009528, allocations: 4.859 kB / 272.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.009558, allocations: 7.938 kB / 272.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.009592, allocations: 34.56 kB / 272.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.009594, allocations: 0 / 272.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004864/0.01008, allocations: 93.61 kB / 272.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.01012, allocations: 51.41 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.01066, allocations: 0.5205 MB / 273 MB, free: 12.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.01068, allocations: 25.7 kB / 273 MB, free: 12.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.01077, allocations: 145.3 kB / 273.1 MB, free: 12.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.0108, allocations: 15.84 kB / 273.2 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.01103, allocations: 17.72 kB / 273.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.01117, allocations: 366.6 kB / 273.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.01119, allocations: 4 kB / 273.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.601e-05/0.01121, allocations: 8.062 kB / 273.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.01125, allocations: 16.84 kB / 273.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01125, allocations: 0 / 273.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001132/0.01136, allocations: 65.61 kB / 273.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01138, allocations: 4 kB / 273.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.01139, allocations: 4 kB / 273.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.0114, allocations: 7.984 kB / 273.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.01147, allocations: 11.94 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.01148, allocations: 0 / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.01152, allocations: 4 kB / 273.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.01152, allocations: 0 / 273.6 MB, free: 12.11 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 0.0001056/0.01163, allocations: 112.7 kB / 273.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.01168, allocations: 23.92 kB / 273.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.01188, allocations: 85.12 kB / 273.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01188, allocations: 0 / 273.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01189, allocations: 7.984 kB / 273.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.01189, allocations: 4 kB / 273.9 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.01229, allocations: 270.9 kB / 274.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.0123, allocations: 0 / 274.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.01236, allocations: 19.94 kB / 274.2 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.0124, allocations: 35.73 kB / 274.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.0124, allocations: 0 / 274.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.01241, allocations: 0 / 274.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01241, allocations: 0 / 274.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01241, allocations: 0 / 274.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.01256, allocations: 167.4 kB / 274.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.01259, allocations: 8 kB / 274.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.01266, allocations: 0 / 274.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.01269, allocations: 3.984 kB / 274.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.0127, allocations: 4 kB / 274.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003038/0.013, allocations: 275.2 kB / 274.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.013, allocations: 0 / 274.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.01327, allocations: 24 kB / 274.7 MB, free: 11.04 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.001769/0.01504, allocations: 0.5429 MB / 275.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.01515, allocations: 24.86 kB / 275.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/0.01516, allocations: 8 kB / 275.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.0152, allocations: 24.72 kB / 275.3 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.01555, allocations: 97.25 kB / 275.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.01661, allocations: 0.5782 MB / 275.9 MB, free: 9.699 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.01672, allocations: 119.2 kB / 276.1 MB, free: 9.562 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.843e-05/0.01676, allocations: 4.375 kB / 276.1 MB, free: 9.559 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.01683, allocations: 67.36 kB / 276.1 MB, free: 9.492 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01684, allocations: 0 / 276.1 MB, free: 9.492 MB / 282.7 MB Notification: Performance of Templates: time 0.005496/0.02233, allocations: 1.445 MB / 277.6 MB, free: 8.051 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6485702330246568]