Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.0008225/0.0008225, 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.0008961/0.0008961, 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.8984/0.8984, allocations: 177 MB / 204.1 MB, free: 5.75 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.2354/0.2354, allocations: 34.24 MB / 294.8 MB, free: 0.6719 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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.231e-05, allocations: 4.812 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.1686/0.1687, allocations: 1.603 MB / 443.8 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007422/0.1694, allocations: 0.5464 MB / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.1695, allocations: 3.5 kB / 444.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.1698, allocations: 452.4 kB / 444.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.1701, allocations: 302.8 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.1704, allocations: 171.8 kB / 445.2 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1706, allocations: 166.6 kB / 445.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.1707, allocations: 11.41 kB / 445.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.389e-05/0.1708, allocations: 117.3 kB / 445.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1709, allocations: 245 kB / 445.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1709, allocations: 2.812 kB / 445.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.407e-05/0.171, allocations: 26.06 kB / 445.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.1711, allocations: 84.41 kB / 445.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.1711, allocations: 42.59 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1713, allocations: 234.3 kB / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1713, allocations: 0 / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1713, allocations: 0 / 446.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1713, allocations: 2.75 kB / 446.1 MB, free: 43.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004382/0.1717, allocations: 0.5743 MB / 446.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1718, allocations: 11.84 kB / 446.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.372e-05/0.1718, allocations: 33.47 kB / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.1718, allocations: 47.45 kB / 446.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.172, allocations: 248.3 kB / 447 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.172, allocations: 384 / 447 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.172, allocations: 10.34 kB / 447.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.1721, allocations: 47.42 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1721, allocations: 192 / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1722, allocations: 2.203 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1722, allocations: 4.125 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.111e-05/0.1722, allocations: 32.25 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.1725, allocations: 346.1 kB / 447.5 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.062e-05/0.1726, allocations: 36.89 kB / 447.5 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.1726, allocations: 21.75 kB / 447.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1726, allocations: 0.75 kB / 447.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.222e-05/0.1727, allocations: 36.25 kB / 447.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.1727, allocations: 0 / 447.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.1728, allocations: 113.5 kB / 447.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.1729, allocations: 51.41 kB / 447.7 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.1733, allocations: 0.8773 MB / 448.6 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-06/0.1733, allocations: 29.83 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.1734, allocations: 222.7 kB / 448.9 MB, free: 41.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.1734, allocations: 12.73 kB / 448.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.1734, allocations: 12.56 kB / 448.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.1735, allocations: 361.8 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.1735, allocations: 9.391 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/0.1735, allocations: 9.047 kB / 449.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.368e-05/0.1736, allocations: 34.19 kB / 449.3 MB, free: 41.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1736, allocations: 64 / 449.3 MB, free: 41.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.84e-05/0.1736, allocations: 102.3 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1736, allocations: 5.688 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1737, allocations: 3.281 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1737, allocations: 0 / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/0.1737, allocations: 8.719 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1737, allocations: 1.875 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.1737, allocations: 2.906 kB / 449.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1738, allocations: 0 / 449.4 MB, free: 41.09 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 (2): * Single equations (assignments): 2 * 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 9.201e-05/0.1738, allocations: 213 kB / 449.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.1739, allocations: 51.78 kB / 449.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.174, allocations: 110.9 kB / 449.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.174, allocations: 2.906 kB / 449.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.174, allocations: 0 / 449.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.174, allocations: 0 / 449.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1742, allocations: 260.6 kB / 450 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1742, allocations: 3.938 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.1742, allocations: 2.656 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1742, allocations: 6.906 kB / 450 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1742, allocations: 6.719 kB / 450.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1742, allocations: 0 / 450.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1742, allocations: 0 / 450.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.647e-05/0.1743, allocations: 190.7 kB / 450.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.1743, allocations: 40.34 kB / 450.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1743, allocations: 3.938 kB / 450.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.106e-05/0.1744, allocations: 6.266 kB / 450.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.1744, allocations: 2.844 kB / 450.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.1744, allocations: 0 / 450.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003175/0.1747, allocations: 0.6643 MB / 451 MB, free: 40.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1747, allocations: 0 / 451 MB, free: 40.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.1749, allocations: 16.91 kB / 451 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 (2): * Single equations (assignments): 2 * 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.000719/0.1756, allocations: 0.9893 MB / 452 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.033e-05/0.1757, allocations: 29.12 kB / 452 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1757, allocations: 0 / 452 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.587e-05/0.1757, allocations: 12.69 kB / 452 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.176, allocations: 22.2 kB / 452 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.1778, allocations: 3.193 MB / 455.2 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.1779, allocations: 217.3 kB / 455.4 MB, free: 37.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.05e-05/0.1779, allocations: 14.08 kB / 455.4 MB, free: 37.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.178, allocations: 116.3 kB / 455.6 MB, free: 37.5 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.178, allocations: 0 / 455.6 MB, free: 37.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.1955, allocations: 6.47 MB / 462 MB, free: 35.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/7.026, allocations: 0 / 462 MB, free: 35.84 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.934464461170137]