Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007977/0.0007977, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001318/0.002116, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002335, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9777/0.9777, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1522/1.13, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.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.1321/0.1321, allocations: 32.81 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02277/0.1549, allocations: 12.53 MB / 284.5 MB, free: 9.703 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/2.002e-05, allocations: 9.547 kB / 285.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002011/0.002031, allocations: 1.703 MB / 287.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.003197, allocations: 1.212 MB / 288.8 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.00325, allocations: 7.938 kB / 288.8 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.003362, allocations: 23.78 kB / 288.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.003508, allocations: 43.72 kB / 288.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.003808, allocations: 183.4 kB / 289 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.003929, allocations: 63.84 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.504e-05/0.004004, allocations: 15.92 kB / 289.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.004085, allocations: 51.89 kB / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.004165, allocations: 19.92 kB / 289.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.00418, allocations: 8 kB / 289.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.00429, allocations: 59.83 kB / 289.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.004335, allocations: 11.94 kB / 289.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.004356, allocations: 8 kB / 289.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004507, allocations: 95.55 kB / 289.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.004518, allocations: 0 / 289.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.004519, allocations: 0 / 289.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.004527, allocations: 0 / 289.4 MB, free: 4.855 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.0003675/0.004894, allocations: 288.2 kB / 289.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.004922, allocations: 8.031 kB / 289.7 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.004954, allocations: 12.94 kB / 289.7 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.005088, allocations: 133.6 kB / 289.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.005099, allocations: 12.36 kB / 289.8 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.005118, allocations: 4.375 kB / 289.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.005236, allocations: 102.3 kB / 289.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.005244, allocations: 192 / 289.9 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.005254, allocations: 8.125 kB / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.00526, allocations: 0 / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.005284, allocations: 19.95 kB / 290 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.005498, allocations: 163.1 kB / 290.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.795e-05/0.005556, allocations: 38.58 kB / 290.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.005573, allocations: 12.94 kB / 290.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.005591, allocations: 4 kB / 290.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.005613, allocations: 34.5 kB / 290.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.005614, allocations: 3.938 kB / 290.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002827/0.005897, allocations: 105.5 kB / 290.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.005923, allocations: 51.41 kB / 290.4 MB, free: 3.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.006001, allocations: 130.7 kB / 290.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.006012, allocations: 25.7 kB / 290.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.006045, allocations: 96.08 kB / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.006069, allocations: 27.78 kB / 290.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.006097, allocations: 21.7 kB / 290.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.006173, allocations: 322.8 kB / 291 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.006186, allocations: 4 kB / 291 MB, free: 3.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.006216, allocations: 47.36 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/0.006251, allocations: 31.66 kB / 291 MB, free: 3.004 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006252, allocations: 0 / 291 MB, free: 3.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.794e-05/0.00631, allocations: 57.61 kB / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.006325, allocations: 4 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.00633, allocations: 32 / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.006341, allocations: 4 kB / 291.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.006408, allocations: 23.92 kB / 291.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.006412, allocations: 0 / 291.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.006435, allocations: 8 kB / 291.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.006439, allocations: 0 / 291.1 MB, free: 2.902 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 5.201e-05/0.006491, allocations: 112.7 kB / 291.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.006514, allocations: 11.92 kB / 291.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.616e-05/0.006601, allocations: 62.42 kB / 291.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.006602, allocations: 0 / 291.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.006606, allocations: 8 kB / 291.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006609, allocations: 0 / 291.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.006806, allocations: 234.7 kB / 291.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.006808, allocations: 0 / 291.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.006846, allocations: 12 kB / 291.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.006856, allocations: 11.94 kB / 291.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006858, allocations: 0 / 291.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.006862, allocations: 0 / 291.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006864, allocations: 0 / 291.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.006865, allocations: 0 / 291.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.129e-05/0.006956, allocations: 171.3 kB / 291.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.006967, allocations: 4 kB / 291.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.261e-05/0.006999, allocations: 4 kB / 291.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.00703, allocations: 8.266 kB / 291.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.007034, allocations: 0 / 291.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.406e-05/0.007058, allocations: 27.66 kB / 291.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007058, allocations: 0 / 291.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.007203, allocations: 27.92 kB / 291.8 MB, free: 2.168 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.001323/0.008525, allocations: 0.6053 MB / 292.4 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.008631, allocations: 32.84 kB / 292.5 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.008641, allocations: 7.984 kB / 292.5 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.186e-05/0.008673, allocations: 24.97 kB / 292.5 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.00887, allocations: 91.5 kB / 292.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.009351, allocations: 200.1 kB / 292.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.951e-05/0.0094, allocations: 63.34 kB / 292.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.844e-05/0.009449, allocations: 15.94 kB / 292.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.00952, allocations: 63.36 kB / 292.9 MB, free: 1.297 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009521, allocations: 4 kB / 292.9 MB, free: 1.293 MB / 282.7 MB Notification: Performance of Templates: time 0.003033/0.01255, allocations: 1.713 MB / 294.6 MB, free: 15.6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.7719072038307786]