Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009846/0.0009846, allocations: 170 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.036/1.036, allocations: 177 MB / 205.2 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2693/0.2693, allocations: 34.86 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 4 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.365e-05, allocations: 2.312 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002657/0.00268, allocations: 2.016 MB / 327.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.004078, allocations: 1.031 MB / 329 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.004187, allocations: 4 kB / 329 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.004597, allocations: 255 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.005029, allocations: 278.8 kB / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000749/0.005778, allocations: 470.8 kB / 330 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.006134, allocations: 339 kB / 330.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.006271, allocations: 46.88 kB / 330.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.006446, allocations: 183.5 kB / 330.5 MB, free: 2.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.006628, allocations: 171.5 kB / 330.7 MB, free: 2.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.006652, allocations: 12 kB / 330.7 MB, free: 2.371 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.006775, allocations: 79.8 kB / 330.8 MB, free: 2.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.006872, allocations: 87.67 kB / 330.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.006922, allocations: 59.66 kB / 330.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.007193, allocations: 247 kB / 331.1 MB, free: 1.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.007196, allocations: 7.938 kB / 331.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.007197, allocations: 0 / 331.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.007202, allocations: 0 / 331.2 MB, free: 1.898 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004868/0.007689, allocations: 0.5542 MB / 331.7 MB, free: 1.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.00772, allocations: 8.031 kB / 331.7 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.007766, allocations: 36.84 kB / 331.8 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.007983, allocations: 248 kB / 332 MB, free: 1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.007994, allocations: 8.375 kB / 332 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.008018, allocations: 12.38 kB / 332 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.008136, allocations: 94.83 kB / 332.1 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.008145, allocations: 4.141 kB / 332.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.008154, allocations: 12.38 kB / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.008159, allocations: 384 / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.04e-05/0.008199, allocations: 28.58 kB / 332.2 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.00853, allocations: 274.7 kB / 332.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/0.008603, allocations: 61.11 kB / 332.5 MB, free: 496 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.008625, allocations: 24.78 kB / 332.5 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.008644, allocations: 4 kB / 332.5 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.008663, allocations: 30.56 kB / 332.5 MB, free: 424 kB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.093e-06/0.008664, allocations: 0 / 332.5 MB, free: 424 kB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003965/0.009061, allocations: 203 kB / 332.7 MB, free: 216 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.009092, allocations: 55.41 kB / 332.8 MB, free: 148 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.009376, allocations: 416.8 kB / 333.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.009391, allocations: 33.64 kB / 333.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.009452, allocations: 141.7 kB / 333.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.009491, allocations: 55.53 kB / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.009531, allocations: 33.69 kB / 333.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.009632, allocations: 362.7 kB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.009657, allocations: 16.2 kB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.00968, allocations: 16 kB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.467e-05/0.009744, allocations: 62.62 kB / 333.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.009746, allocations: 0 / 333.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001042/0.00985, allocations: 108.2 kB / 334 MB, free: 14.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.009861, allocations: 4 kB / 334 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.009865, allocations: 0 / 334 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.009875, allocations: 0 / 334 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.009962, allocations: 31.92 kB / 334 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.009967, allocations: 3.938 kB / 334 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.009998, allocations: 11.94 kB / 334.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.01001, allocations: 11.98 kB / 334.1 MB, free: 14.82 MB / 314.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.011e-05/0.01008, allocations: 116.7 kB / 334.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.01011, allocations: 35.91 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.01028, allocations: 137.6 kB / 334.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01029, allocations: 0 / 334.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01029, allocations: 0 / 334.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.01029, allocations: 7.938 kB / 334.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.01062, allocations: 368.9 kB / 334.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01062, allocations: 0 / 334.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.01068, allocations: 31.92 kB / 334.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01068, allocations: 0 / 334.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.01069, allocations: 15.92 kB / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01069, allocations: 0 / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01069, allocations: 0 / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.01081, allocations: 195.5 kB / 335 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.01083, allocations: 31.77 kB / 335 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.01085, allocations: 7.938 kB / 335 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.01089, allocations: 3.984 kB / 335 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.01092, allocations: 15.97 kB / 335 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.01092, allocations: 4 kB / 335 MB, free: 13.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.01106, allocations: 187.5 kB / 335.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01106, allocations: 0 / 335.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.01123, allocations: 51.92 kB / 335.3 MB, free: 13.57 MB / 314.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.002012/0.01324, allocations: 0.9097 MB / 336.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.01337, allocations: 79.16 kB / 336.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.01337, allocations: 4 kB / 336.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.01341, allocations: 40.78 kB / 336.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.01367, allocations: 88.06 kB / 336.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.01429, allocations: 0.5704 MB / 336.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.167e-05/0.01437, allocations: 112.3 kB / 337.1 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.443e-05/0.01445, allocations: 41.92 kB / 337.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.01457, allocations: 95.34 kB / 337.2 MB, free: 12.03 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01457, allocations: 0 / 337.2 MB, free: 12.03 MB / 314.7 MB Notification: Performance of Templates: time 0.005761/0.02033, allocations: 3.662 MB / 340.8 MB, free: 8.422 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.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.1346181500703096]