Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.001404/0.001404, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001616/0.001616, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 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 1.014/1.014, allocations: 158.6 MB / 186 MB, free: 2.906 MB / 170.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.1365/0.1365, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 7.875 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.469e-05, allocations: 13.34 kB / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.002041/0.002076, allocations: 1.645 MB / 349.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004199/0.002496, allocations: 311.4 kB / 349.6 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.002544, allocations: 4 kB / 349.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.002929, allocations: 459 kB / 350.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.003192, allocations: 251.4 kB / 350.3 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.003394, allocations: 111.7 kB / 350.4 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.003567, allocations: 159.7 kB / 350.6 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.003667, allocations: 12.19 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.003783, allocations: 119.8 kB / 350.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.003953, allocations: 231.6 kB / 351 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.003977, allocations: 4 kB / 351 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.38e-05/0.004051, allocations: 35.92 kB / 351 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.362e-05/0.004144, allocations: 83.7 kB / 351.1 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.004179, allocations: 35.75 kB / 351.1 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.004403, allocations: 195.2 kB / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.004406, allocations: 0 / 351.3 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.004408, allocations: 7.938 kB / 351.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.004418, allocations: 0 / 351.3 MB, free: 6.113 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.0005287/0.004946, allocations: 0.6776 MB / 352 MB, free: 5.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.004987, allocations: 8.031 kB / 352 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.758e-05/0.005055, allocations: 44.66 kB / 352 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.00523, allocations: 248.8 kB / 352.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.005241, allocations: 384 / 352.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.005264, allocations: 8.375 kB / 352.3 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.005393, allocations: 58.95 kB / 352.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.005403, allocations: 192 / 352.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.005414, allocations: 3.938 kB / 352.3 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.005423, allocations: 4 kB / 352.4 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.005458, allocations: 11.92 kB / 352.4 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.005846, allocations: 423.7 kB / 352.8 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.006064, allocations: 46.97 kB / 352.8 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.00609, allocations: 7.688 kB / 352.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.006116, allocations: 4 kB / 352.8 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.006143, allocations: 41.33 kB / 352.9 MB, free: 4.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.006144, allocations: 4 kB / 352.9 MB, free: 4.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004655/0.00661, allocations: 180.8 kB / 353.1 MB, free: 4.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.00664, allocations: 59.39 kB / 353.1 MB, free: 4.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.007011, allocations: 0.616 MB / 353.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.007021, allocations: 25.7 kB / 353.8 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.007134, allocations: 282.8 kB / 354 MB, free: 3.207 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.007159, allocations: 19.8 kB / 354.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.007201, allocations: 19.38 kB / 354.1 MB, free: 3.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.007317, allocations: 0.5586 MB / 354.6 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.007339, allocations: 4 kB / 354.6 MB, free: 2.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.699e-05/0.007356, allocations: 8 kB / 354.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/0.007401, allocations: 27.86 kB / 354.7 MB, free: 2.547 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007402, allocations: 3.938 kB / 354.7 MB, free: 2.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000103/0.007505, allocations: 97.36 kB / 354.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.007524, allocations: 8 kB / 354.8 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.007532, allocations: 0 / 354.8 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.007551, allocations: 0 / 354.8 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.007623, allocations: 11.98 kB / 354.8 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.00763, allocations: 0 / 354.8 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.007661, allocations: 4 kB / 354.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.007668, allocations: 0 / 354.8 MB, free: 2.418 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 8.139e-05/0.00775, allocations: 164.5 kB / 354.9 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.00778, allocations: 43.72 kB / 355 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.007953, allocations: 97.06 kB / 355.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.007958, allocations: 0 / 355.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.007964, allocations: 3.984 kB / 355.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.007968, allocations: 0 / 355.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.0083, allocations: 461.4 kB / 355.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.008302, allocations: 0 / 355.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.008343, allocations: 11.98 kB / 355.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.008347, allocations: 4 kB / 355.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.008354, allocations: 0 / 355.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.008357, allocations: 7.938 kB / 355.6 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.008358, allocations: 0 / 355.6 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.008463, allocations: 247.8 kB / 355.8 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.008483, allocations: 31.72 kB / 355.8 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.008502, allocations: 4 kB / 355.8 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.008541, allocations: 7.984 kB / 355.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.008583, allocations: 0 / 355.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.008587, allocations: 4 kB / 355.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002104/0.008797, allocations: 422.8 kB / 356.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.008798, allocations: 4 kB / 356.3 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001825/0.00898, allocations: 27.88 kB / 356.3 MB, free: 0.832 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.0008893/0.009869, allocations: 385.5 kB / 356.7 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.01002, allocations: 35.61 kB / 356.7 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01002, allocations: 0 / 356.7 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.067e-05/0.01004, allocations: 15.69 kB / 356.7 MB, free: 500 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.01033, allocations: 31.2 kB / 356.8 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006881/0.01102, allocations: 0.5742 MB / 357.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.477e-05/0.0111, allocations: 119.2 kB / 357.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.826e-05/0.01114, allocations: 8 kB / 357.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.01117, allocations: 16.5 kB / 357.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of SimCode: time 1.623e-06/0.01118, allocations: 0 / 357.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of Templates: time 0.004724/0.0159, allocations: 1.35 MB / 358.8 MB, free: 14.35 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.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.2320382038597018]