Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001853/0.001853, allocations: 121 kB / 18.5 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.00236/0.00236, allocations: 213.5 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.594/1.594, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2417/0.2417, allocations: 46.92 MB / 357.8 MB, free: 10.3 MB / 286.1 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.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 67.89 kB / 0.4916 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1662, allocations: 65.99 MB / 0.5561 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003551/0.1697, allocations: 1.628 MB / 0.5577 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1708, allocations: 0.5533 MB / 0.5582 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.1709, allocations: 0 / 0.5582 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.1712, allocations: 83.7 kB / 0.5583 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.1715, allocations: 99.64 kB / 0.5584 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1718, allocations: 111.7 kB / 0.5585 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.172, allocations: 87.75 kB / 0.5586 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1722, allocations: 12 kB / 0.5586 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.1722, allocations: 39.83 kB / 0.5586 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1724, allocations: 63.81 kB / 0.5587 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1724, allocations: 4 kB / 0.5587 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1725, allocations: 43.92 kB / 0.5587 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.1725, allocations: 27.86 kB / 0.5588 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.341e-05/0.1726, allocations: 35.72 kB / 0.5588 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.1729, allocations: 103.6 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1729, allocations: 4 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1729, allocations: 0 / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.1729, allocations: 0 / 0.5589 GB, free: 2.902 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007107/0.1736, allocations: 418.7 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.1736, allocations: 12.03 kB / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.576e-05/0.1737, allocations: 192 / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.843e-05/0.1737, allocations: 30.75 kB / 0.5593 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.1737, allocations: 16.84 kB / 0.5594 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.174, allocations: 211.1 kB / 0.5596 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.174, allocations: 4.375 kB / 0.5596 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.1741, allocations: 12.12 kB / 0.5596 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1742, allocations: 53.66 kB / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1743, allocations: 0 / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1743, allocations: 4 kB / 0.5596 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1743, allocations: 0 / 0.5596 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.1744, allocations: 27.97 kB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.1749, allocations: 300.8 kB / 0.5599 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.175, allocations: 46.55 kB / 0.56 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.636e-05/0.1751, allocations: 12.86 kB / 0.56 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.1751, allocations: 7.984 kB / 0.56 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.1751, allocations: 38.64 kB / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1751, allocations: 0 / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001028/0.1762, allocations: 237.2 kB / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.1762, allocations: 59.34 kB / 0.5603 GB, free: 1.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.1765, allocations: 218.2 kB / 0.5605 GB, free: 1.027 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1765, allocations: 33.7 kB / 0.5606 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1766, allocations: 108.2 kB / 0.5607 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.1766, allocations: 35.72 kB / 0.5607 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.1767, allocations: 17.72 kB / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1768, allocations: 322.8 kB / 0.561 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-05/0.1769, allocations: 31.97 kB / 0.5611 GB, free: 476 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.177, allocations: 27.98 kB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1772, allocations: 77.05 kB / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1772, allocations: 0 / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002445/0.1775, allocations: 117.5 kB / 0.5613 GB, free: 244 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1775, allocations: 4 kB / 0.5613 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1775, allocations: 0 / 0.5613 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1775, allocations: 0 / 0.5613 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.1776, allocations: 23.92 kB / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1776, allocations: 3.938 kB / 0.5613 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.1777, allocations: 8 kB / 0.5613 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1777, allocations: 3.984 kB / 0.5613 GB, free: 200 kB / 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 (8): * Single equations (assignments): 8 * 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.000114/0.1778, allocations: 128 kB / 0.5614 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.1778, allocations: 15.91 kB / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.1782, allocations: 135 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1782, allocations: 4 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.1782, allocations: 7.938 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1782, allocations: 4 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.1788, allocations: 419.2 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1788, allocations: 3.938 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.472e-05/0.1789, allocations: 15.98 kB / 0.562 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1789, allocations: 4 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1789, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1789, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1789, allocations: 8.031 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1792, allocations: 212.2 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.1793, allocations: 88.95 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.1793, allocations: 8 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.1794, allocations: 7.984 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.1794, allocations: 7.938 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1794, allocations: 4 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1796, allocations: 168.2 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1796, allocations: 0 / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1799, allocations: 27.92 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002323/0.1822, allocations: 1.099 MB / 0.5636 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.1825, allocations: 79.88 kB / 0.5637 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1825, allocations: 0 / 0.5637 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1826, allocations: 35.97 kB / 0.5637 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.183, allocations: 19.98 kB / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.1852, allocations: 1.731 MB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.1856, allocations: 0.708 MB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.729e-05/0.1857, allocations: 20.95 kB / 0.5661 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.1858, allocations: 35.42 kB / 0.5662 GB, free: 11.16 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1858, allocations: 4 kB / 0.5662 GB, free: 11.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.2066, allocations: 3.216 MB / 0.5693 GB, free: 8.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.494/8.7, allocations: 3.984 kB / 0.5693 GB, free: 8 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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: 11.999097339983564]