Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001341/0.001341, allocations: 85.91 kB / 22.21 MB, free: 2.281 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.001564/0.001564, allocations: 157.3 kB / 25.61 MB, free: 8.578 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.091/1.091, allocations: 177 MB / 205.9 MB, free: 4.449 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.1782/0.1782, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.414e-05, allocations: 7.062 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002366/0.00239, allocations: 1.689 MB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004565/0.002846, allocations: 0.8026 MB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.002879, allocations: 0 / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.003089, allocations: 27.84 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.003272, allocations: 39.77 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.056e-06/0.003275, allocations: 0 / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.003419, allocations: 43.83 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.003459, allocations: 3.938 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/0.003549, allocations: 26.66 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.166e-05/0.003571, allocations: 4 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.003581, allocations: 4 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.195e-05/0.003622, allocations: 11.98 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.003666, allocations: 15.94 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.003685, allocations: 7.938 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.003802, allocations: 55.77 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003804, allocations: 0 / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003805, allocations: 0 / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.00381, allocations: 0 / 382.7 MB, free: 19.99 MB / 314.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.0002543/0.004064, allocations: 400.2 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.004111, allocations: 12.03 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.004139, allocations: 8.891 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.469e-05/0.004233, allocations: 128.5 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.004243, allocations: 4.359 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-06/0.00425, allocations: 4.375 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.565e-05/0.004336, allocations: 109.7 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.004342, allocations: 4.188 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-06/0.004348, allocations: 384 / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/0.00438, allocations: 24.36 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.004403, allocations: 23.86 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.00472, allocations: 1.181 MB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.543e-05/0.004776, allocations: 277.4 kB / 384.9 MB, free: 17.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.004797, allocations: 130.9 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.004816, allocations: 119.2 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.004846, allocations: 156.6 kB / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.004847, allocations: 0 / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 3.849e-05/0.004886, allocations: 33.66 kB / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.004916, allocations: 178.5 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.894e-05/0.005015, allocations: 245.8 kB / 385.7 MB, free: 16.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.00502, allocations: 25.7 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.005103, allocations: 198.3 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.005109, allocations: 15.92 kB / 386 MB, free: 16.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.005151, allocations: 47.31 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.005216, allocations: 0.4962 MB / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.005228, allocations: 11.98 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-05/0.005291, allocations: 195.4 kB / 386.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.005408, allocations: 233.4 kB / 387 MB, free: 15.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.005411, allocations: 4 kB / 387 MB, free: 15.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001448/0.005556, allocations: 157.6 kB / 387.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.005568, allocations: 8 kB / 387.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.005574, allocations: 4 kB / 387.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.005584, allocations: 8 kB / 387.1 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.005646, allocations: 35.92 kB / 387.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.005651, allocations: 11.88 kB / 387.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.005696, allocations: 27.78 kB / 387.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.005704, allocations: 11.98 kB / 387.2 MB, free: 15.1 MB / 314.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 5.632e-05/0.00576, allocations: 295.8 kB / 387.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.005793, allocations: 168.8 kB / 387.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.005823, allocations: 152.7 kB / 387.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/0.005853, allocations: 264.1 kB / 388.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.179e-05/0.005884, allocations: 279.9 kB / 388.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.005912, allocations: 264.1 kB / 388.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.006033, allocations: 0.4927 MB / 389.1 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/0.00606, allocations: 144.9 kB / 389.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.006081, allocations: 152.8 kB / 389.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.02e-05/0.006111, allocations: 268.1 kB / 389.7 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.006141, allocations: 264.1 kB / 389.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.488e-05/0.006176, allocations: 276 kB / 390.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.287e-05/0.006218, allocations: 272.1 kB / 390.4 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.394e-05/0.006312, allocations: 455.8 kB / 390.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.006343, allocations: 156.8 kB / 391 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.006384, allocations: 272 kB / 391.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-05/0.006424, allocations: 144.9 kB / 391.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.006478, allocations: 268 kB / 391.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.006496, allocations: 148.9 kB / 391.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.122e-05/0.006537, allocations: 151.1 kB / 392 MB, free: 10.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006537, allocations: 0 / 392 MB, free: 10.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.006702, allocations: 19.94 kB / 392 MB, free: 10.1 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.0003775/0.007079, allocations: 308.2 kB / 392.3 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.533e-05/0.007164, allocations: 71.45 kB / 392.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.007166, allocations: 0 / 392.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.007166, allocations: 0 / 392.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.007344, allocations: 0.7151 MB / 393.1 MB, free: 9.055 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001725/0.007517, allocations: 277.2 kB / 393.4 MB, free: 8.754 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.421e-05/0.007541, allocations: 67.84 kB / 393.4 MB, free: 8.668 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.925e-05/0.00758, allocations: 9.141 kB / 393.5 MB, free: 8.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.007607, allocations: 82.2 kB / 393.5 MB, free: 8.578 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.007608, allocations: 3.938 kB / 393.5 MB, free: 8.574 MB / 314.7 MB Notification: Performance of Templates: time 0.001969/0.009577, allocations: 0.7932 MB / 394.3 MB, free: 7.797 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.441538764629513]