Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.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.000986/0.000986, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001427/0.001427, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9371/0.9371, allocations: 177 MB / 204.1 MB, free: 5.734 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.23/0.23, allocations: 34.24 MB / 294.8 MB, free: 0.6758 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.195e-05, allocations: 2.281 kB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.17/0.1701, allocations: 1.651 MB / 443.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1713, allocations: 1.248 MB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.1714, allocations: 0 / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1716, allocations: 25.3 kB / 445.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.1719, allocations: 84.62 kB / 445.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1721, allocations: 134.1 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.1722, allocations: 79.97 kB / 445.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.1723, allocations: 14.55 kB / 445.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.488e-05/0.1724, allocations: 46.03 kB / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.1725, allocations: 27.88 kB / 445.5 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1725, allocations: 2.594 kB / 445.5 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1726, allocations: 93.53 kB / 445.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.1726, allocations: 22.09 kB / 445.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.1727, allocations: 18.91 kB / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.1729, allocations: 160 kB / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1729, allocations: 2.688 kB / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1729, allocations: 0 / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1729, allocations: 2.125 kB / 445.8 MB, free: 42.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003984/0.1733, allocations: 345.5 kB / 446.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1733, allocations: 11.34 kB / 446.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.422e-05/0.1733, allocations: 34.75 kB / 446.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.1734, allocations: 11.62 kB / 446.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.1735, allocations: 132.3 kB / 446.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.1735, allocations: 8.156 kB / 446.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1735, allocations: 384 / 446.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1737, allocations: 105.1 kB / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.1737, allocations: 192 / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1737, allocations: 3.031 kB / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1737, allocations: 6.812 kB / 446.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.246e-05/0.1738, allocations: 39.31 kB / 446.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.174, allocations: 251.9 kB / 446.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.1741, allocations: 42.98 kB / 446.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.1741, allocations: 33.75 kB / 446.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1742, allocations: 0 / 446.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.1742, allocations: 33.44 kB / 446.8 MB, free: 41.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1742, allocations: 1.172 kB / 446.8 MB, free: 41.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005012/0.1747, allocations: 218.7 kB / 447 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.1747, allocations: 77.11 kB / 447.1 MB, free: 41.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1748, allocations: 155.3 kB / 447.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.1748, allocations: 29.7 kB / 447.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.1749, allocations: 94.09 kB / 447.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.1749, allocations: 20.98 kB / 447.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.1749, allocations: 22.36 kB / 447.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.73e-05/0.1749, allocations: 318 kB / 447.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.669e-05/0.175, allocations: 37.39 kB / 447.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.96e-05/0.175, allocations: 72.45 kB / 447.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1751, allocations: 86.39 kB / 447.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1751, allocations: 3.938 kB / 447.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001316/0.1753, allocations: 118.8 kB / 448 MB, free: 40.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1753, allocations: 7.031 kB / 448 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1753, allocations: 2.875 kB / 448 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1753, allocations: 4 kB / 448 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.1754, allocations: 17.75 kB / 448.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1754, allocations: 0 / 448.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/0.1754, allocations: 11.98 kB / 448.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.1754, allocations: 0 / 448.1 MB, free: 40.98 MB / 410.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 (7): * Single equations (assignments): 7 * 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 4.622e-05/0.1755, allocations: 126.6 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.1755, allocations: 12.64 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.1757, allocations: 125 kB / 448.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1757, allocations: 0 / 448.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1757, allocations: 0 / 448.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1757, allocations: 0 / 448.3 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.176, allocations: 364.6 kB / 448.7 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.176, allocations: 0 / 448.7 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.176, allocations: 24.83 kB / 448.7 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.176, allocations: 0 / 448.7 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.176, allocations: 2.906 kB / 448.7 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.176, allocations: 2.688 kB / 448.7 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.176, allocations: 0 / 448.7 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.1762, allocations: 211.9 kB / 448.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.1762, allocations: 10.77 kB / 448.9 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1762, allocations: 3.375 kB / 448.9 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.1762, allocations: 12.91 kB / 449 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.1763, allocations: 11.17 kB / 449 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1763, allocations: 5.5 kB / 449 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.302e-05/0.1763, allocations: 125.5 kB / 449.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1763, allocations: 0 / 449.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.1765, allocations: 45.41 kB / 449.1 MB, free: 40.21 MB / 410.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 (7): * Single equations (assignments): 7 * 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.0009608/0.1775, allocations: 1.156 MB / 450.3 MB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.1776, allocations: 85.2 kB / 450.4 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1776, allocations: 4 kB / 450.4 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/0.1777, allocations: 42.95 kB / 450.4 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.178, allocations: 24.97 kB / 450.4 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1791, allocations: 1.604 MB / 452 MB, free: 38.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.129e-05/0.1791, allocations: 79.75 kB / 452.1 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.317e-05/0.1792, allocations: 16.47 kB / 452.1 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.1792, allocations: 35.56 kB / 452.2 MB, free: 37.97 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1792, allocations: 0 / 452.2 MB, free: 37.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.1952, allocations: 4.291 MB / 456.5 MB, free: 36.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.788/6.983, allocations: 6.625 kB / 456.5 MB, free: 36.48 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.00335771869868]