Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.0009196/0.0009196, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.00103/0.00103, allocations: 170.5 kB / 24.91 MB, free: 9.18 MB / 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.952/0.952, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2407/0.2407, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.184e-05, allocations: 3.406 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002885/0.002907, allocations: 1.641 MB / 324.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.003947, allocations: 0.5607 MB / 325.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.004008, allocations: 0 / 325.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.004611, allocations: 455 kB / 325.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.005082, allocations: 299.2 kB / 326.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.005479, allocations: 171.5 kB / 326.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.005709, allocations: 171.6 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.005795, allocations: 12.62 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.005933, allocations: 119.8 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.006136, allocations: 187.7 kB / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.006156, allocations: 4 kB / 326.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.315e-05/0.006229, allocations: 27.92 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-05/0.006325, allocations: 87.66 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.006371, allocations: 43.73 kB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.006602, allocations: 179.2 kB / 327.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.006605, allocations: 4 kB / 327.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006605, allocations: 0 / 327.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.006609, allocations: 3.938 kB / 327.2 MB, free: 5.754 MB / 298.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.0005564/0.007165, allocations: 0.5345 MB / 327.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.007201, allocations: 8.031 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.007248, allocations: 28.91 kB / 327.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.007467, allocations: 246 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.007476, allocations: 384 / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.007488, allocations: 4.375 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.477e-05/0.007583, allocations: 58.94 kB / 328 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.00759, allocations: 192 / 328 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.007598, allocations: 4.125 kB / 328 MB, free: 4.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.007603, allocations: 4 kB / 328 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.007622, allocations: 11.88 kB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.0079, allocations: 187.2 kB / 328.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.759e-05/0.007948, allocations: 26.55 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.007965, allocations: 8.922 kB / 328.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.007979, allocations: 0 / 328.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.008003, allocations: 42.44 kB / 328.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.008004, allocations: 0 / 328.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001376/0.008142, allocations: 53.67 kB / 328.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.008172, allocations: 51.41 kB / 328.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/0.008639, allocations: 0.5322 MB / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.008651, allocations: 25.7 kB / 329 MB, free: 3.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.008728, allocations: 145.2 kB / 329.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.008748, allocations: 11.94 kB / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.008776, allocations: 13.7 kB / 329.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.008892, allocations: 354.7 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.008902, allocations: 4.125 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/0.008912, allocations: 7.938 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.008941, allocations: 15.67 kB / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.008943, allocations: 0 / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.685e-05/0.00902, allocations: 53.67 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.009036, allocations: 10.44 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.00904, allocations: 0 / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.009051, allocations: 0 / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.009102, allocations: 4 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.009107, allocations: 4.078 kB / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.009142, allocations: 8 kB / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.009147, allocations: 0 / 329.6 MB, free: 3.16 MB / 298.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 (2): * Single equations (assignments): 2 * 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 8.013e-05/0.009227, allocations: 112.6 kB / 329.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.009267, allocations: 27.91 kB / 329.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.009379, allocations: 72.73 kB / 329.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.009381, allocations: 4 kB / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.009383, allocations: 0 / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.009386, allocations: 0 / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.009563, allocations: 133.8 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.009564, allocations: 4.031 kB / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.422e-05/0.009588, allocations: 8 kB / 329.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.009591, allocations: 7.938 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-06/0.009597, allocations: 3.984 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.0096, allocations: 3.938 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009601, allocations: 0 / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.009702, allocations: 151.5 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.00974, allocations: 39.72 kB / 330.1 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.009759, allocations: 0 / 330.1 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.009824, allocations: 3.938 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.009835, allocations: 8.016 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.009839, allocations: 4 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002739/0.01011, allocations: 283.2 kB / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01011, allocations: 0 / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.01034, allocations: 19.94 kB / 330.5 MB, free: 2.238 MB / 298.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 (2): * Single equations (assignments): 2 * 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.001176/0.01152, allocations: 427.9 kB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.057e-05/0.01158, allocations: 16.8 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.01159, allocations: 8 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/0.0116, allocations: 4.859 kB / 330.9 MB, free: 2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.01184, allocations: 24.95 kB / 330.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006995/0.01254, allocations: 0.5672 MB / 331.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.819e-05/0.01264, allocations: 115.3 kB / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.27e-05/0.01267, allocations: 11.98 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.01273, allocations: 55.38 kB / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01273, allocations: 0 / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of Templates: time 0.004353/0.01708, allocations: 1.24 MB / 332.9 MB, free: 15.95 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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: 2.9182807179167867]