Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.000824/0.000824, 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.0008752/0.0008752, 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.9098/0.9098, allocations: 177 MB / 204.1 MB, free: 5.738 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.6875 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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 7.875 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.437e-05, allocations: 2.281 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.1631/0.1631, allocations: 1.653 MB / 443.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1645, allocations: 1.245 MB / 445.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.1646, allocations: 3.062 kB / 445.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.1648, allocations: 25.45 kB / 445.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.165, allocations: 86.39 kB / 445.2 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1653, allocations: 130.8 kB / 445.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.1654, allocations: 76.77 kB / 445.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.26e-05/0.1655, allocations: 15.59 kB / 445.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.1655, allocations: 42.25 kB / 445.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.1656, allocations: 25.12 kB / 445.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1656, allocations: 6.969 kB / 445.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1658, allocations: 92.31 kB / 445.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.1658, allocations: 24.03 kB / 445.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.1658, allocations: 12.09 kB / 445.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.1661, allocations: 158 kB / 445.8 MB, free: 42.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1661, allocations: 5.281 kB / 445.8 MB, free: 42.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1661, allocations: 0 / 445.8 MB, free: 42.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1661, allocations: 0 / 445.8 MB, free: 42.39 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.0004696/0.1666, allocations: 354.1 kB / 446.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1666, allocations: 8.406 kB / 446.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.488e-05/0.1667, allocations: 34.56 kB / 446.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.1667, allocations: 13.92 kB / 446.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1668, allocations: 137.4 kB / 446.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.1669, allocations: 384 / 446.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.1669, allocations: 6.594 kB / 446.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.167, allocations: 100.5 kB / 446.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.167, allocations: 192 / 446.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.167, allocations: 384 / 446.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.167, allocations: 6.781 kB / 446.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.1671, allocations: 40.34 kB / 446.5 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.1674, allocations: 254.4 kB / 446.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.869e-05/0.1675, allocations: 42.83 kB / 446.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.1675, allocations: 26.61 kB / 446.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1675, allocations: 2.781 kB / 446.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.1675, allocations: 33.94 kB / 446.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1675, allocations: 0 / 446.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004961/0.168, allocations: 221 kB / 447 MB, free: 41.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.1681, allocations: 82.73 kB / 447.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.1682, allocations: 148.9 kB / 447.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.1682, allocations: 25.7 kB / 447.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.1682, allocations: 100.2 kB / 447.4 MB, free: 41.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.1682, allocations: 25.34 kB / 447.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.1682, allocations: 18.69 kB / 447.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.175e-05/0.1683, allocations: 320.7 kB / 447.7 MB, free: 40.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.1683, allocations: 37.2 kB / 447.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.966e-05/0.1684, allocations: 69.11 kB / 447.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1685, allocations: 88.38 kB / 447.9 MB, free: 40.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1685, allocations: 0 / 447.9 MB, free: 40.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001335/0.1686, allocations: 118.4 kB / 448 MB, free: 40.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1686, allocations: 5.781 kB / 448 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1686, allocations: 0 / 448 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1687, allocations: 0 / 448 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.1687, allocations: 21.16 kB / 448.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1687, allocations: 6.875 kB / 448.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.885e-05/0.1688, allocations: 12 kB / 448.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1688, allocations: 2.969 kB / 448.1 MB, free: 40.67 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 5.087e-05/0.1688, allocations: 120.2 kB / 448.2 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.1689, allocations: 9.734 kB / 448.2 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.1691, allocations: 128.9 kB / 448.3 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1691, allocations: 4 kB / 448.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1691, allocations: 2.875 kB / 448.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1691, allocations: 0 / 448.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.1694, allocations: 361 kB / 448.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1694, allocations: 0 / 448.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.1695, allocations: 20.81 kB / 448.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1695, allocations: 2.875 kB / 448.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1695, allocations: 6.812 kB / 448.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.1695, allocations: 2.688 kB / 448.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1695, allocations: 0 / 448.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.1696, allocations: 209.1 kB / 448.9 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.1697, allocations: 10.88 kB / 448.9 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1697, allocations: 2.781 kB / 448.9 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/0.1697, allocations: 11.77 kB / 449 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.1698, allocations: 6.047 kB / 449 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1698, allocations: 5.438 kB / 449 MB, free: 40.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.427e-05/0.1698, allocations: 128 kB / 449.1 MB, free: 40 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1698, allocations: 0 / 449.1 MB, free: 40 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002038/0.17, allocations: 49.89 kB / 449.1 MB, free: 39.99 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.001213/0.1712, allocations: 1.166 MB / 450.3 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.1714, allocations: 85.95 kB / 450.4 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1715, allocations: 0 / 450.4 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.1715, allocations: 36.5 kB / 450.4 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.1718, allocations: 25.53 kB / 450.5 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.1731, allocations: 1.606 MB / 452.1 MB, free: 37.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.807e-05/0.1731, allocations: 80.17 kB / 452.1 MB, free: 37.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.044e-05/0.1732, allocations: 16.77 kB / 452.2 MB, free: 37.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.1733, allocations: 32.64 kB / 452.2 MB, free: 37.83 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1733, allocations: 0 / 452.2 MB, free: 37.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.1902, allocations: 4.286 MB / 456.5 MB, free: 36.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/6.941, allocations: 7.938 kB / 456.5 MB, free: 36.34 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.905824058689177]