Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.0009515/0.0009515, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009963/0.0009963, allocations: 169.8 kB / 24.82 MB, free: 9.273 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.957/0.957, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2283/0.2283, allocations: 32.8 MB / 294.6 MB, free: 1.191 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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.857e-05, allocations: 6.25 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002359/0.002377, allocations: 2.02 MB / 378.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.003597, allocations: 0.9886 MB / 379.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.003702, allocations: 4 kB / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.004079, allocations: 266.9 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.004468, allocations: 266.9 kB / 380 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.00515, allocations: 478.8 kB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.005448, allocations: 335.1 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.005594, allocations: 40.98 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.00575, allocations: 183.3 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.005928, allocations: 199.6 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.005948, allocations: 8 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.006093, allocations: 103.8 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.238e-05/0.006185, allocations: 95.61 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.006229, allocations: 55.72 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.006483, allocations: 270.8 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.006484, allocations: 0 / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006485, allocations: 0 / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.768e-06/0.00649, allocations: 7.984 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005089/0.006999, allocations: 0.6969 MB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.00704, allocations: 11.98 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.0071, allocations: 56.61 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.007306, allocations: 262.8 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.007319, allocations: 12.36 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.007342, allocations: 20.27 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.007467, allocations: 90.91 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.007476, allocations: 192 / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.007486, allocations: 8.125 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.007494, allocations: 8 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.007537, allocations: 32.56 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.007908, allocations: 407.9 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.007989, allocations: 70.97 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.008014, allocations: 27.81 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.00804, allocations: 4 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.00806, allocations: 37.39 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.008061, allocations: 0 / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004035/0.008465, allocations: 249 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.008488, allocations: 59.41 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.008764, allocations: 470.5 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.008778, allocations: 29.7 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.008897, allocations: 267.1 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.008935, allocations: 59.41 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.008982, allocations: 43.34 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.009126, allocations: 0.5312 MB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.009155, allocations: 27.88 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.804e-05/0.009183, allocations: 21.86 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.773e-05/0.00925, allocations: 67.66 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.009251, allocations: 0 / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001352/0.009387, allocations: 155.3 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.009397, allocations: 4 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.009401, allocations: 0 / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.009414, allocations: 7.938 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.009499, allocations: 27.98 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.009501, allocations: 0 / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.009532, allocations: 8 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.009541, allocations: 7.984 kB / 385.5 MB, free: 11.14 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 (17): * Single equations (assignments): 17 * 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.882e-05/0.00962, allocations: 164.5 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.009661, allocations: 43.72 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.009857, allocations: 184.2 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.009861, allocations: 3.938 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.009862, allocations: 0 / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.009866, allocations: 0 / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.01025, allocations: 493.6 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01025, allocations: 3.938 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.01031, allocations: 35.92 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01031, allocations: 4 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.01032, allocations: 3.984 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01032, allocations: 4 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01032, allocations: 4 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.0105, allocations: 299.3 kB / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.01053, allocations: 31.7 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.01055, allocations: 11.97 kB / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.279e-05/0.01059, allocations: 7.938 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.01062, allocations: 11.98 kB / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.01063, allocations: 4 kB / 386.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.01079, allocations: 303 kB / 387.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0108, allocations: 0 / 387.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.011, allocations: 51.92 kB / 387.1 MB, free: 9.445 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 (17): * Single equations (assignments): 17 * 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.001336/0.01234, allocations: 0.6586 MB / 387.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.01246, allocations: 83.48 kB / 387.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.01246, allocations: 0 / 387.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.01251, allocations: 55.58 kB / 387.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.0128, allocations: 96 kB / 388 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/0.01339, allocations: 0.5768 MB / 388.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.117e-05/0.01346, allocations: 116.3 kB / 388.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.502e-05/0.01354, allocations: 33.92 kB / 388.7 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.01365, allocations: 122.2 kB / 388.9 MB, free: 7.949 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01365, allocations: 0 / 388.9 MB, free: 7.949 MB / 362.7 MB Notification: Performance of Templates: time 0.005538/0.01919, allocations: 3.704 MB / 392.6 MB, free: 4.293 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.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.8350856960751116]