Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001926/0.001926, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.00239/0.00239, allocations: 215 kB / 21.45 MB, free: 1.617 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.572/1.572, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2242/0.2242, allocations: 44.91 MB / 355.8 MB, free: 12.33 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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001919/0.001919, allocations: 67.91 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1545, allocations: 65.42 MB / 0.5524 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002971/0.1575, allocations: 1.615 MB / 0.554 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1585, allocations: 0.5706 MB / 0.5546 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.1586, allocations: 4 kB / 0.5546 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.1592, allocations: 459.1 kB / 0.555 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.1596, allocations: 295.3 kB / 0.5553 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.16, allocations: 170.5 kB / 0.5555 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.1603, allocations: 179.6 kB / 0.5556 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.1604, allocations: 12 kB / 0.5557 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.1605, allocations: 115.7 kB / 0.5558 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.1608, allocations: 243.5 kB / 0.556 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1608, allocations: 4 kB / 0.556 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.846e-05/0.1608, allocations: 27.92 kB / 0.556 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1609, allocations: 83.69 kB / 0.5561 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.308e-05/0.161, allocations: 111 kB / 0.5562 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.1614, allocations: 262.9 kB / 0.5565 GB, free: 5.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1614, allocations: 0 / 0.5565 GB, free: 5.996 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1614, allocations: 0 / 0.5565 GB, free: 5.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1614, allocations: 0 / 0.5565 GB, free: 5.996 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.0008205/0.1622, allocations: 0.6645 MB / 0.5571 GB, free: 5.281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1622, allocations: 12.03 kB / 0.5571 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.299e-05/0.1623, allocations: 192 / 0.5571 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.1623, allocations: 38.73 kB / 0.5572 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.1624, allocations: 48.64 kB / 0.5572 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.1627, allocations: 304.6 kB / 0.5575 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.1627, allocations: 384 / 0.5575 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1627, allocations: 12.12 kB / 0.5575 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1629, allocations: 53.61 kB / 0.5576 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1629, allocations: 0 / 0.5576 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1629, allocations: 0 / 0.5576 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1629, allocations: 4 kB / 0.5576 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.163, allocations: 39.97 kB / 0.5576 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.1636, allocations: 396.7 kB / 0.558 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1638, allocations: 46.5 kB / 0.558 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/0.1638, allocations: 20.94 kB / 0.558 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1639, allocations: 8 kB / 0.558 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1639, allocations: 34.55 kB / 0.5581 GB, free: 4.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1639, allocations: 3.938 kB / 0.5581 GB, free: 4.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003791/0.1643, allocations: 125.4 kB / 0.5582 GB, free: 4.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1643, allocations: 55.39 kB / 0.5583 GB, free: 3.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009905/0.1653, allocations: 0.8737 MB / 0.5591 GB, free: 3.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1653, allocations: 25.7 kB / 0.5591 GB, free: 3.039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.1655, allocations: 220.1 kB / 0.5593 GB, free: 2.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1655, allocations: 11.91 kB / 0.5594 GB, free: 2.809 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.1656, allocations: 21.7 kB / 0.5594 GB, free: 2.781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.1658, allocations: 362.7 kB / 0.5597 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.1658, allocations: 15.98 kB / 0.5597 GB, free: 2.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.549e-05/0.1659, allocations: 15.98 kB / 0.5598 GB, free: 2.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.1661, allocations: 56.75 kB / 0.5598 GB, free: 2.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1661, allocations: 0 / 0.5598 GB, free: 2.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002241/0.1663, allocations: 113.4 kB / 0.5599 GB, free: 2.211 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1663, allocations: 4 kB / 0.5599 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1663, allocations: 0 / 0.5599 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1663, allocations: 3.938 kB / 0.5599 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.1664, allocations: 8 kB / 0.5599 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1664, allocations: 0 / 0.5599 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.189e-05/0.1665, allocations: 19.92 kB / 0.56 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1665, allocations: 0 / 0.56 GB, free: 2.176 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 (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 0.0001971/0.1667, allocations: 219.9 kB / 0.5602 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.1667, allocations: 47.72 kB / 0.5602 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.167, allocations: 125.4 kB / 0.5603 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.167, allocations: 4.031 kB / 0.5603 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.167, allocations: 0 / 0.5603 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.167, allocations: 4 kB / 0.5603 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.1673, allocations: 293.5 kB / 0.5606 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1673, allocations: 4 kB / 0.5606 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.1674, allocations: 7.938 kB / 0.5606 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1674, allocations: 0 / 0.5606 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1674, allocations: 4 kB / 0.5606 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1674, allocations: 0 / 0.5606 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1674, allocations: 0 / 0.5606 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.1677, allocations: 223.1 kB / 0.5608 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.775e-05/0.1678, allocations: 108.8 kB / 0.5609 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.1678, allocations: 4 kB / 0.5609 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.02e-05/0.1679, allocations: 3.984 kB / 0.561 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.1679, allocations: 4 kB / 0.561 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.1679, allocations: 0 / 0.561 GB, free: 1.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006606/0.1686, allocations: 0.6589 MB / 0.5616 GB, free: 396 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1686, allocations: 0 / 0.5616 GB, free: 396 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1689, allocations: 31.88 kB / 0.5616 GB, free: 364 kB / 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 (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.001827/0.1707, allocations: 0.9924 MB / 0.5626 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1709, allocations: 39.97 kB / 0.5626 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1709, allocations: 0 / 0.5626 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.171, allocations: 27.91 kB / 0.5627 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.1714, allocations: 22.31 kB / 0.5627 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.1752, allocations: 3.214 MB / 0.5658 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.1757, allocations: 0.826 MB / 0.5666 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.407e-05/0.1758, allocations: 27.72 kB / 0.5667 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.176, allocations: 111.4 kB / 0.5668 GB, free: 11.09 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.176, allocations: 0 / 0.5668 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.2004, allocations: 5.895 MB / 0.5725 GB, free: 5.262 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.858/9.058, allocations: 14.34 kB / 0.5725 GB, free: 5.254 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 12.339956283045467]