Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001/0.001, allocations: 88.86 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.001002/0.001002, allocations: 160.9 kB / 24.91 MB, free: 8.719 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 0.9494/0.9494, allocations: 177 MB / 205.2 MB, free: 5.027 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.2807/0.2807, allocations: 34.86 MB / 296.6 MB, free: 400 kB / 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.81e-07/7.81e-07, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.399e-05, allocations: 6.312 kB / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002452/0.002476, allocations: 1.699 MB / 327.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008017/0.003278, allocations: 0.8026 MB / 328.4 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.0033, allocations: 4 kB / 328.4 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.00343, allocations: 27.84 kB / 328.5 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.003562, allocations: 47.7 kB / 328.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.044e-06/0.003564, allocations: 0 / 328.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.192e-05/0.003646, allocations: 39.83 kB / 328.5 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.936e-05/0.003665, allocations: 4 kB / 328.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.003722, allocations: 15.97 kB / 328.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.817e-05/0.00374, allocations: 11.92 kB / 328.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-06/0.003745, allocations: 0 / 328.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.163e-05/0.003777, allocations: 16 kB / 328.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.003804, allocations: 15.92 kB / 328.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.299e-05/0.003817, allocations: 8 kB / 328.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.368e-05/0.0039, allocations: 55.66 kB / 328.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.003902, allocations: 0 / 328.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.003903, allocations: 3.984 kB / 328.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.284e-06/0.003906, allocations: 4 kB / 328.7 MB, free: 4.363 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0001796/0.004085, allocations: 270.8 kB / 328.9 MB, free: 4.074 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.182e-05/0.004107, allocations: 8.031 kB / 328.9 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.883e-05/0.004126, allocations: 4.938 kB / 329 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.004218, allocations: 117.7 kB / 329.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-06/0.004224, allocations: 8.375 kB / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.004233, allocations: 8.359 kB / 329.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.384e-05/0.004317, allocations: 90.2 kB / 329.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.004323, allocations: 4.125 kB / 329.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-06/0.004328, allocations: 384 / 329.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.00436, allocations: 28.3 kB / 329.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.25e-05/0.004392, allocations: 31.84 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.004746, allocations: 0.7756 MB / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.423e-05/0.0048, allocations: 165.1 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.004822, allocations: 80.14 kB / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.004843, allocations: 87.31 kB / 330.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.004875, allocations: 105.8 kB / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.004876, allocations: 0 / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 4.346e-05/0.004919, allocations: 29.7 kB / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.00496, allocations: 130.7 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.005066, allocations: 185.1 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.005075, allocations: 25.7 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.005137, allocations: 143.6 kB / 330.9 MB, free: 1.922 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-06/0.00514, allocations: 4 kB / 330.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.005185, allocations: 45.64 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.005265, allocations: 326.8 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.005278, allocations: 8 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/0.005358, allocations: 137 kB / 331.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.005484, allocations: 167.8 kB / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.005487, allocations: 4 kB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004414/0.005929, allocations: 145.1 kB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.005939, allocations: 8.625 kB / 331.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.005945, allocations: 8 kB / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.005956, allocations: 8 kB / 331.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.006042, allocations: 39.92 kB / 331.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.006049, allocations: 7.938 kB / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.006124, allocations: 15.89 kB / 331.8 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.006136, allocations: 12 kB / 331.9 MB, free: 0.8555 MB / 298.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 7.475e-05/0.006211, allocations: 207.8 kB / 332.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.006257, allocations: 112.9 kB / 332.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.006298, allocations: 108.8 kB / 332.3 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.253e-05/0.00634, allocations: 180.2 kB / 332.5 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.292e-05/0.006383, allocations: 192.3 kB / 332.6 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.674e-05/0.00644, allocations: 184.2 kB / 332.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.006604, allocations: 329.4 kB / 333.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/0.006625, allocations: 101 kB / 333.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.006646, allocations: 108.9 kB / 333.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-05/0.006682, allocations: 184.2 kB / 333.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.006718, allocations: 176.3 kB / 333.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.64e-05/0.006755, allocations: 184.2 kB / 333.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.501e-05/0.00679, allocations: 184.3 kB / 334.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.911e-05/0.006869, allocations: 311.7 kB / 334.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.006899, allocations: 112.9 kB / 334.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.006941, allocations: 184.2 kB / 334.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.499e-05/0.006986, allocations: 105 kB / 334.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.007031, allocations: 180.3 kB / 334.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.007058, allocations: 108.9 kB / 335 MB, free: 13.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.087e-05/0.007088, allocations: 33.7 kB / 335.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007089, allocations: 0 / 335.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001514/0.00724, allocations: 15.95 kB / 335.1 MB, free: 13.45 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 (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.0004598/0.0077, allocations: 297.2 kB / 335.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.53e-05/0.007775, allocations: 72.62 kB / 335.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.007781, allocations: 0 / 335.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.007782, allocations: 0 / 335.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.007956, allocations: 464.7 kB / 335.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002032/0.008159, allocations: 235.7 kB / 336.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.289e-05/0.008192, allocations: 67.84 kB / 336.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.755e-05/0.00823, allocations: 13.14 kB / 336.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.008263, allocations: 63.36 kB / 336.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008264, allocations: 0 / 336.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of Templates: time 0.001832/0.0101, allocations: 0.7807 MB / 337.1 MB, free: 11.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.090126853901893]