Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.0008005/0.0008005, allocations: 79.7 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.0009547/0.0009547, allocations: 170 kB / 23.95 MB, free: 0.6016 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.869/0.869, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2282/0.2282, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.712e-05, allocations: 2.281 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002088/0.002105, allocations: 1.611 MB / 443.8 MB, free: 44 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1591/0.1612, allocations: 0.548 MB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.1612, allocations: 2.875 kB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.1616, allocations: 458.3 kB / 444.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.1619, allocations: 298.1 kB / 445.1 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.1621, allocations: 179.4 kB / 445.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1623, allocations: 179.8 kB / 445.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.1624, allocations: 8.406 kB / 445.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.557e-05/0.1625, allocations: 122.8 kB / 445.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1626, allocations: 235.8 kB / 445.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1626, allocations: 5.406 kB / 445.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.1627, allocations: 25.5 kB / 445.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.1628, allocations: 86.45 kB / 445.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.1628, allocations: 38.31 kB / 445.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.163, allocations: 244.7 kB / 446.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.163, allocations: 3.375 kB / 446.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.163, allocations: 2.625 kB / 446.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.163, allocations: 0 / 446.2 MB, free: 43.08 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.0004179/0.1634, allocations: 0.5802 MB / 446.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1634, allocations: 12.97 kB / 446.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.569e-05/0.1635, allocations: 34.03 kB / 446.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.1635, allocations: 42.16 kB / 446.9 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1637, allocations: 253.3 kB / 447.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.1637, allocations: 3.281 kB / 447.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.1637, allocations: 384 / 447.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1638, allocations: 58.53 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1638, allocations: 4.125 kB / 447.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1638, allocations: 3.938 kB / 447.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1638, allocations: 0 / 447.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.47e-05/0.1639, allocations: 44.09 kB / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.1642, allocations: 354.8 kB / 447.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.168e-05/0.1642, allocations: 50.14 kB / 447.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.1643, allocations: 27.28 kB / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1643, allocations: 3.234 kB / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.201e-05/0.1643, allocations: 33.25 kB / 447.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1643, allocations: 2.344 kB / 447.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001982/0.1645, allocations: 133.4 kB / 447.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/0.1645, allocations: 54.78 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.1649, allocations: 0.8681 MB / 448.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-06/0.1649, allocations: 29.14 kB / 448.8 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.165, allocations: 221.9 kB / 449 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.165, allocations: 3.953 kB / 449 MB, free: 41.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.165, allocations: 19.5 kB / 449 MB, free: 41.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.359e-05/0.1651, allocations: 357 kB / 449.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.1651, allocations: 26.08 kB / 449.4 MB, free: 41.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.1652, allocations: 19.94 kB / 449.4 MB, free: 41.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.1652, allocations: 46.09 kB / 449.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1652, allocations: 3.938 kB / 449.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.458e-05/0.1653, allocations: 115.5 kB / 449.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1653, allocations: 5.5 kB / 449.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1653, allocations: 0 / 449.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1653, allocations: 3.188 kB / 449.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.1654, allocations: 12.25 kB / 449.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1654, allocations: 0 / 449.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.1654, allocations: 5.922 kB / 449.6 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1654, allocations: 6.844 kB / 449.6 MB, free: 41.12 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 (3): * Single equations (assignments): 3 * 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.028e-05/0.1655, allocations: 213.4 kB / 449.8 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1656, allocations: 44.09 kB / 449.8 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.1657, allocations: 125.6 kB / 450 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1657, allocations: 2.969 kB / 450 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1657, allocations: 5.781 kB / 450 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1657, allocations: 3.375 kB / 450 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.1658, allocations: 262.5 kB / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1658, allocations: 0 / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.1659, allocations: 9.344 kB / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1659, allocations: 4.344 kB / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.1659, allocations: 3.938 kB / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1659, allocations: 0 / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1659, allocations: 3.188 kB / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.166, allocations: 216.2 kB / 450.5 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.166, allocations: 43.55 kB / 450.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.166, allocations: 2.75 kB / 450.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.1661, allocations: 2.812 kB / 450.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.1661, allocations: 3.469 kB / 450.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.1661, allocations: 2.812 kB / 450.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003008/0.1664, allocations: 0.655 MB / 451.2 MB, free: 40.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1664, allocations: 0 / 451.2 MB, free: 40.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000161/0.1665, allocations: 23.8 kB / 451.2 MB, free: 40.25 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 (3): * Single equations (assignments): 3 * 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.0007098/0.1672, allocations: 1.016 MB / 452.2 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.1674, allocations: 36.83 kB / 452.2 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1674, allocations: 4 kB / 452.2 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.1674, allocations: 24.52 kB / 452.3 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.1676, allocations: 29.03 kB / 452.3 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1695, allocations: 3.226 MB / 455.5 MB, free: 37.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.1696, allocations: 224.8 kB / 455.7 MB, free: 37.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.432e-05/0.1697, allocations: 14.62 kB / 455.8 MB, free: 37.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.1697, allocations: 111 kB / 455.9 MB, free: 37.55 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1697, allocations: 0 / 455.9 MB, free: 37.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01513/0.1849, allocations: 6.491 MB / 462.4 MB, free: 35.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/7.021, allocations: 7.375 kB / 462.4 MB, free: 35.9 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.90165935549885]