Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.0009894/0.0009894, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009261/0.0009261, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9467/0.9467, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2478/0.2478, allocations: 34.25 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.764e-05, allocations: 5.969 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002364/0.002392, allocations: 1.707 MB / 379.8 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006851/0.003077, allocations: 0.8025 MB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.003125, allocations: 0 / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.003447, allocations: 31.77 kB / 380.6 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.00368, allocations: 47.72 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.877e-06/0.003684, allocations: 0 / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.003835, allocations: 35.83 kB / 380.7 MB, free: 24 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.18e-05/0.003866, allocations: 0 / 380.7 MB, free: 24 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.718e-05/0.003944, allocations: 19.92 kB / 380.7 MB, free: 4 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.186e-05/0.003975, allocations: 15.97 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.003985, allocations: 4 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-05/0.004025, allocations: 8 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.004074, allocations: 19.92 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.004094, allocations: 7.938 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.004217, allocations: 51.77 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004219, allocations: 0 / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004219, allocations: 0 / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004224, allocations: 0 / 380.8 MB, free: 15.9 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003131/0.004537, allocations: 400.3 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.004571, allocations: 11.97 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.004609, allocations: 12.89 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.004733, allocations: 116.6 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.004744, allocations: 4.375 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.004752, allocations: 4.375 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.004883, allocations: 116.3 kB / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.004891, allocations: 192 / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.004902, allocations: 384 / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.004944, allocations: 20.36 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.842e-05/0.004983, allocations: 35.8 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.005483, allocations: 1.203 MB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.22e-05/0.005566, allocations: 265.4 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.005603, allocations: 130.9 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.005629, allocations: 119.2 kB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.005674, allocations: 160.6 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.005675, allocations: 0 / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.647e-05/0.005731, allocations: 41.62 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.005785, allocations: 170.6 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.005932, allocations: 251 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.00594, allocations: 25.7 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.006022, allocations: 202.2 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.871e-06/0.006028, allocations: 8 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.006086, allocations: 51.31 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.006216, allocations: 0.5001 MB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.006238, allocations: 11.98 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.006364, allocations: 199.9 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.00651, allocations: 229.5 kB / 385 MB, free: 11.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.006513, allocations: 0 / 385 MB, free: 11.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001896/0.006702, allocations: 165.8 kB / 385.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.006714, allocations: 8.031 kB / 385.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.006721, allocations: 8 kB / 385.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.006739, allocations: 11.94 kB / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-05/0.006824, allocations: 35.92 kB / 385.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.006834, allocations: 15.92 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.006883, allocations: 27.78 kB / 385.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.006893, allocations: 8 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.894e-05/0.006982, allocations: 291.6 kB / 385.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.007031, allocations: 152.8 kB / 385.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.00708, allocations: 168.6 kB / 385.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.352e-05/0.007134, allocations: 268 kB / 386.2 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-05/0.00719, allocations: 264.2 kB / 386.4 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-05/0.007248, allocations: 276 kB / 386.7 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.007426, allocations: 0.5116 MB / 387.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.068e-05/0.007457, allocations: 152.8 kB / 387.4 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.007486, allocations: 144.9 kB / 387.5 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.417e-05/0.00754, allocations: 264.1 kB / 387.8 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/0.0076, allocations: 272 kB / 388 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.359e-05/0.007654, allocations: 268.1 kB / 388.3 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.886e-05/0.007713, allocations: 272 kB / 388.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.007882, allocations: 456 kB / 389 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.007928, allocations: 160.8 kB / 389.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.007999, allocations: 268.1 kB / 389.4 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.777e-05/0.008057, allocations: 152.8 kB / 389.6 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.00812, allocations: 272 kB / 389.8 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.008155, allocations: 148.9 kB / 390 MB, free: 6.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.385e-05/0.008229, allocations: 159.3 kB / 390.1 MB, free: 5.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008229, allocations: 3.938 kB / 390.1 MB, free: 5.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.008414, allocations: 16 kB / 390.1 MB, free: 5.922 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 (0): * Single equations (assignments): 0 * 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.0004586/0.008873, allocations: 310.1 kB / 390.4 MB, free: 5.652 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.008995, allocations: 71.47 kB / 390.5 MB, free: 5.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.008997, allocations: 0 / 390.5 MB, free: 5.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.71e-07/0.008998, allocations: 0 / 390.5 MB, free: 5.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.009276, allocations: 0.7101 MB / 391.2 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.009534, allocations: 286.5 kB / 391.5 MB, free: 4.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.548e-05/0.00957, allocations: 59.84 kB / 391.6 MB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.613e-05/0.009646, allocations: 49.08 kB / 391.6 MB, free: 4.426 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.009667, allocations: 12.5 kB / 391.6 MB, free: 4.414 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009667, allocations: 0 / 391.6 MB, free: 4.414 MB / 362.7 MB Notification: Performance of Templates: time 0.002263/0.01193, allocations: 0.7582 MB / 392.4 MB, free: 3.668 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.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.067592477891594]