Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.0007987/0.0007987, 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.0008398/0.0008398, allocations: 156.9 kB / 23.95 MB, free: 0.6094 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.8717/0.8717, allocations: 177 MB / 204.1 MB, free: 5.754 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.2257/0.2257, allocations: 34.25 MB / 294.8 MB, free: 0.6836 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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.38e-05, allocations: 4.953 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.1691/0.1692, allocations: 1.662 MB / 443.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.1699, allocations: 0.5428 MB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.17, allocations: 0 / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.1702, allocations: 67.73 kB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.1704, allocations: 106.3 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1707, allocations: 131 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.1708, allocations: 88.05 kB / 444.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1709, allocations: 17.11 kB / 444.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.1709, allocations: 49.41 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.171, allocations: 55.25 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.171, allocations: 2.562 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.1711, allocations: 50.64 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.149e-05/0.1712, allocations: 28.55 kB / 445 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.1712, allocations: 21.55 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1713, allocations: 124.9 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1713, allocations: 0 / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1713, allocations: 0 / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1714, allocations: 0 / 445.1 MB, free: 43.1 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003652/0.1717, allocations: 366.4 kB / 445.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1718, allocations: 8.469 kB / 445.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.29e-05/0.1718, allocations: 34.06 kB / 445.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.1718, allocations: 10.64 kB / 445.5 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1719, allocations: 153.1 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.1719, allocations: 6.719 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.1719, allocations: 3.344 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1721, allocations: 62.48 kB / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1721, allocations: 4.125 kB / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.1721, allocations: 0.9375 kB / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1721, allocations: 10.25 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.445e-05/0.1722, allocations: 40.66 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.1724, allocations: 274.8 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1726, allocations: 62.95 kB / 446.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.1726, allocations: 23.7 kB / 446.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1726, allocations: 1.656 kB / 446.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.141e-05/0.1726, allocations: 40.12 kB / 446.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.1726, allocations: 0 / 446.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007544/0.1734, allocations: 391.7 kB / 446.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.1734, allocations: 57.59 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1735, allocations: 218.7 kB / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.892e-06/0.1735, allocations: 25.7 kB / 446.9 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.1736, allocations: 116.5 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1736, allocations: 40.83 kB / 447 MB, free: 41.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.1736, allocations: 25.56 kB / 447.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.583e-05/0.1736, allocations: 328 kB / 447.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.1737, allocations: 44.23 kB / 447.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.1737, allocations: 40.72 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1739, allocations: 106.9 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1739, allocations: 2.688 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001504/0.174, allocations: 142.2 kB / 447.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.174, allocations: 5.594 kB / 447.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.174, allocations: 0 / 447.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.174, allocations: 10.28 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.1741, allocations: 24 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1741, allocations: 4 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.1741, allocations: 15.95 kB / 447.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1742, allocations: 6.688 kB / 447.8 MB, free: 41.45 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 (11): * Single equations (assignments): 11 * 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.005e-05/0.1742, allocations: 133 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.1742, allocations: 10.14 kB / 447.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.1744, allocations: 172.1 kB / 448.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1744, allocations: 4 kB / 448.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1744, allocations: 0 / 448.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1744, allocations: 2.844 kB / 448.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.1748, allocations: 437.1 kB / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1748, allocations: 0 / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.1748, allocations: 26.98 kB / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1748, allocations: 6.906 kB / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1748, allocations: 6.844 kB / 448.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1748, allocations: 3.25 kB / 448.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1748, allocations: 0 / 448.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.175, allocations: 254.2 kB / 448.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.175, allocations: 20.97 kB / 448.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.175, allocations: 3.938 kB / 448.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.1751, allocations: 15.84 kB / 448.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.1751, allocations: 10.17 kB / 448.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1751, allocations: 5.781 kB / 448.9 MB, free: 40.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.5e-05/0.1752, allocations: 165.2 kB / 449 MB, free: 40.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1752, allocations: 0 / 449 MB, free: 40.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.1753, allocations: 28.39 kB / 449 MB, free: 40.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.000896/0.1762, allocations: 1.163 MB / 450.2 MB, free: 39.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.1764, allocations: 108.4 kB / 450.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1764, allocations: 4 kB / 450.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.5e-05/0.1765, allocations: 54.88 kB / 450.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.1768, allocations: 22.84 kB / 450.4 MB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1779, allocations: 1.885 MB / 452.3 MB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.211e-05/0.178, allocations: 104.3 kB / 452.4 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.607e-05/0.178, allocations: 23.38 kB / 452.4 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.1781, allocations: 44.08 kB / 452.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1781, allocations: 0 / 452.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.1944, allocations: 4.201 MB / 456.7 MB, free: 36.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/7.01, allocations: 11.94 kB / 456.7 MB, free: 36.89 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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: 8.900289572775364]