Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001371/0.001371, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 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.001477/0.001477, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 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 1.588/1.588, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2498/0.2498, allocations: 44.9 MB / 355.8 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003434/0.003434, allocations: 67.89 kB / 0.4886 GB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1516, allocations: 65.42 MB / 0.5525 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.00322/0.1548, allocations: 1.625 MB / 0.554 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1558, allocations: 0.5338 MB / 0.5546 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.1559, allocations: 0 / 0.5546 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005806/0.1565, allocations: 455.1 kB / 0.555 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.157, allocations: 291.3 kB / 0.5553 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.1574, allocations: 119.6 kB / 0.5554 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.1577, allocations: 171.6 kB / 0.5555 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.1578, allocations: 8.188 kB / 0.5556 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1579, allocations: 107.8 kB / 0.5557 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.1582, allocations: 247.5 kB / 0.5559 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1583, allocations: 4 kB / 0.5559 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.1583, allocations: 20 kB / 0.5559 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.1585, allocations: 87.67 kB / 0.556 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.362e-05/0.1585, allocations: 103 kB / 0.5561 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.1589, allocations: 254.9 kB / 0.5563 GB, free: 6.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1589, allocations: 0 / 0.5563 GB, free: 6.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1589, allocations: 0 / 0.5563 GB, free: 6.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.1589, allocations: 0 / 0.5563 GB, free: 6.102 MB / 414.1 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.0009278/0.1599, allocations: 0.6606 MB / 0.557 GB, free: 5.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1599, allocations: 12.03 kB / 0.557 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.465e-05/0.1599, allocations: 192 / 0.557 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.16, allocations: 30.75 kB / 0.557 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.218e-05/0.16, allocations: 52.61 kB / 0.5571 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.1604, allocations: 300.6 kB / 0.5574 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1604, allocations: 4.375 kB / 0.5574 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.1604, allocations: 3.938 kB / 0.5574 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1606, allocations: 41.69 kB / 0.5574 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1606, allocations: 7.984 kB / 0.5574 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1606, allocations: 7.922 kB / 0.5574 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1606, allocations: 0 / 0.5574 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.399e-05/0.1607, allocations: 23.92 kB / 0.5575 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.1612, allocations: 384.8 kB / 0.5578 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1613, allocations: 26.58 kB / 0.5578 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.1614, allocations: 16.91 kB / 0.5579 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1614, allocations: 3.984 kB / 0.5579 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.1615, allocations: 38.5 kB / 0.5579 GB, free: 4.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1615, allocations: 4 kB / 0.5579 GB, free: 4.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.000307/0.1618, allocations: 97.39 kB / 0.558 GB, free: 4.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.1618, allocations: 51.41 kB / 0.558 GB, free: 4.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/0.1628, allocations: 0.8738 MB / 0.5589 GB, free: 3.273 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1628, allocations: 25.7 kB / 0.5589 GB, free: 3.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.163, allocations: 224 kB / 0.5591 GB, free: 3.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.163, allocations: 7.938 kB / 0.5591 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1631, allocations: 17.84 kB / 0.5592 GB, free: 2.988 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1632, allocations: 362.7 kB / 0.5595 GB, free: 2.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.847e-05/0.1633, allocations: 11.98 kB / 0.5595 GB, free: 2.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.575e-05/0.1633, allocations: 8 kB / 0.5595 GB, free: 2.605 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.356e-05/0.1634, allocations: 24.78 kB / 0.5596 GB, free: 2.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1634, allocations: 0 / 0.5596 GB, free: 2.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000175/0.1636, allocations: 101.4 kB / 0.5596 GB, free: 2.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1636, allocations: 7.984 kB / 0.5597 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1636, allocations: 0 / 0.5597 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1636, allocations: 4 kB / 0.5597 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.1637, allocations: 4 kB / 0.5597 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1637, allocations: 0 / 0.5597 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.1638, allocations: 7.938 kB / 0.5597 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1638, allocations: 4 kB / 0.5597 GB, free: 2.445 MB / 414.1 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 0.0001943/0.164, allocations: 208 kB / 0.5599 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.164, allocations: 47.72 kB / 0.5599 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.1643, allocations: 108.7 kB / 0.56 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1643, allocations: 0 / 0.56 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1643, allocations: 0 / 0.56 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1643, allocations: 3.938 kB / 0.56 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.1646, allocations: 285.5 kB / 0.5603 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1646, allocations: 0 / 0.5603 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.1646, allocations: 4 kB / 0.5603 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1646, allocations: 32 / 0.5603 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.1646, allocations: 4 kB / 0.5603 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1646, allocations: 0 / 0.5603 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1646, allocations: 0 / 0.5603 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1649, allocations: 203.1 kB / 0.5605 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.1649, allocations: 112.8 kB / 0.5606 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.165, allocations: 0 / 0.5606 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.1651, allocations: 12.02 kB / 0.5606 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.1651, allocations: 0 / 0.5606 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1651, allocations: 3.938 kB / 0.5606 GB, free: 1.375 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007/0.1658, allocations: 0.6589 MB / 0.5613 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1658, allocations: 0 / 0.5613 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.166, allocations: 23.94 kB / 0.5613 GB, free: 0.6953 MB / 414.1 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.001783/0.1678, allocations: 0.979 MB / 0.5622 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.168, allocations: 27.98 kB / 0.5623 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.168, allocations: 0 / 0.5623 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.333e-05/0.168, allocations: 11.98 kB / 0.5623 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.1684, allocations: 26.23 kB / 0.5623 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.1721, allocations: 3.152 MB / 0.5654 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.1726, allocations: 0.8241 MB / 0.5662 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.463e-05/0.1727, allocations: 11.75 kB / 0.5662 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.1728, allocations: 111.4 kB / 0.5663 GB, free: 11.55 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1728, allocations: 0 / 0.5663 GB, free: 11.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.1952, allocations: 5.811 MB / 0.572 GB, free: 5.801 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.849/9.044, allocations: 7.438 kB / 0.572 GB, free: 5.797 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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: 12.378343084012158]