Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008769/0.0008769, allocations: 87.69 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008989/0.0008989, allocations: 165.3 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8575/0.8575, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2357/0.2357, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.264e-05, allocations: 12.53 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.1632/0.1632, allocations: 1.644 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007817/0.164, allocations: 0.5575 MB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.1641, allocations: 2.719 kB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.1645, allocations: 464.6 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.1648, allocations: 297.8 kB / 445.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1651, allocations: 166.6 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1652, allocations: 179.2 kB / 445.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.1653, allocations: 14.97 kB / 445.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/0.1654, allocations: 121.1 kB / 445.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1656, allocations: 239.7 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1656, allocations: 4.062 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-05/0.1656, allocations: 37.92 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.1657, allocations: 85.09 kB / 446 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.1658, allocations: 43.19 kB / 446 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.166, allocations: 248.5 kB / 446.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.166, allocations: 0 / 446.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.166, allocations: 2.875 kB / 446.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.166, allocations: 0 / 446.3 MB, free: 43.01 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.0004568/0.1664, allocations: 0.5796 MB / 446.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1665, allocations: 8.5 kB / 446.9 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.542e-05/0.1665, allocations: 36.94 kB / 446.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.1665, allocations: 46.14 kB / 446.9 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.1667, allocations: 259.9 kB / 447.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1667, allocations: 384 / 447.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1667, allocations: 3.188 kB / 447.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.1668, allocations: 61.92 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1668, allocations: 192 / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1668, allocations: 3.938 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1668, allocations: 2.875 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.825e-05/0.1669, allocations: 28.48 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.1672, allocations: 375.8 kB / 447.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1674, allocations: 45.73 kB / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.1674, allocations: 17.17 kB / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1675, allocations: 0 / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.1675, allocations: 33.75 kB / 447.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1675, allocations: 2.75 kB / 447.8 MB, free: 41.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004393/0.1679, allocations: 251 kB / 448 MB, free: 41.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.1679, allocations: 51.41 kB / 448 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/0.1684, allocations: 0.8755 MB / 448.9 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.1684, allocations: 28.14 kB / 448.9 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.1685, allocations: 224.4 kB / 449.2 MB, free: 41.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.1685, allocations: 15.86 kB / 449.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.1685, allocations: 19.59 kB / 449.2 MB, free: 41.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.1686, allocations: 364.9 kB / 449.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.1686, allocations: 26.53 kB / 449.6 MB, free: 41.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.1687, allocations: 24.61 kB / 449.6 MB, free: 41.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.902e-05/0.1687, allocations: 56.12 kB / 449.7 MB, free: 41.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1687, allocations: 0 / 449.7 MB, free: 41.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00011/0.1688, allocations: 119 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1689, allocations: 9.219 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1689, allocations: 0 / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1689, allocations: 2.531 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.226e-05/0.1689, allocations: 11.59 kB / 449.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1689, allocations: 11.41 kB / 449.8 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.169, allocations: 8.938 kB / 449.8 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.169, allocations: 0 / 449.8 MB, free: 40.93 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 (5): * Single equations (assignments): 5 * 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 0.0001091/0.1691, allocations: 220.7 kB / 450 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.1691, allocations: 41.41 kB / 450.1 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.1693, allocations: 141.3 kB / 450.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1693, allocations: 3 kB / 450.2 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1693, allocations: 3.938 kB / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1693, allocations: 4 kB / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.1696, allocations: 449.3 kB / 450.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1696, allocations: 0 / 450.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.1696, allocations: 12.06 kB / 450.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1696, allocations: 0 / 450.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1697, allocations: 6.125 kB / 450.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1697, allocations: 0 / 450.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1697, allocations: 3.938 kB / 450.7 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.1698, allocations: 220.1 kB / 450.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.1698, allocations: 42.94 kB / 450.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1698, allocations: 0 / 450.9 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.493e-05/0.1699, allocations: 6 kB / 451 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.1699, allocations: 7.172 kB / 451 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1699, allocations: 2.938 kB / 451 MB, free: 40.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003202/0.1702, allocations: 0.6594 MB / 451.6 MB, free: 39.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1702, allocations: 0 / 451.6 MB, free: 39.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.1704, allocations: 24.06 kB / 451.6 MB, free: 39.91 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 (5): * Single equations (assignments): 5 * 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.0008328/0.1712, allocations: 1.098 MB / 452.7 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1713, allocations: 50.48 kB / 452.8 MB, free: 39.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1713, allocations: 0 / 452.8 MB, free: 39.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.1714, allocations: 27.45 kB / 452.8 MB, free: 39.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1717, allocations: 30.22 kB / 452.8 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.1736, allocations: 3.285 MB / 456.1 MB, free: 37.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.1737, allocations: 221.4 kB / 456.3 MB, free: 37.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.873e-05/0.1737, allocations: 21.75 kB / 456.4 MB, free: 37.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.1738, allocations: 115.1 kB / 456.5 MB, free: 37.14 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1738, allocations: 4 kB / 456.5 MB, free: 37.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.1928, allocations: 6.787 MB / 463.3 MB, free: 35.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/6.884, allocations: 10.02 kB / 463.3 MB, free: 35.47 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.767500260844827]