Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001336/0.001336, allocations: 113 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.001367/0.001367, allocations: 217.4 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.564/1.564, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2695/0.2695, allocations: 44.91 MB / 355.8 MB, free: 12.43 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",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.00201/0.00201, allocations: 59.91 kB / 0.4886 GB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1515, allocations: 65.43 MB / 0.5525 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.004214/0.1557, allocations: 1.673 MB / 0.5541 GB, free: 8.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1569, allocations: 0.5649 MB / 0.5547 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.157, allocations: 4 kB / 0.5547 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007249/0.1577, allocations: 451.1 kB / 0.5551 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006414/0.1584, allocations: 287.3 kB / 0.5554 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.1589, allocations: 131.6 kB / 0.5555 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.1593, allocations: 175.6 kB / 0.5557 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1594, allocations: 24.2 kB / 0.5557 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.1596, allocations: 111.7 kB / 0.5558 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.16, allocations: 251.5 kB / 0.556 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.16, allocations: 8 kB / 0.556 GB, free: 6.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.1601, allocations: 51.92 kB / 0.5561 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1603, allocations: 87.62 kB / 0.5562 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1604, allocations: 111 kB / 0.5563 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.1608, allocations: 270.6 kB / 0.5565 GB, free: 6.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1608, allocations: 0 / 0.5565 GB, free: 6.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1608, allocations: 0 / 0.5565 GB, free: 6.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1608, allocations: 0 / 0.5565 GB, free: 6.082 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008881/0.1617, allocations: 0.6684 MB / 0.5572 GB, free: 5.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.1617, allocations: 16.03 kB / 0.5572 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.138e-05/0.1618, allocations: 4.125 kB / 0.5572 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.1618, allocations: 38.73 kB / 0.5572 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.1619, allocations: 44.66 kB / 0.5573 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.1623, allocations: 308.6 kB / 0.5576 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1623, allocations: 384 / 0.5576 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.1623, allocations: 8.125 kB / 0.5576 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1625, allocations: 65.55 kB / 0.5576 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1625, allocations: 0 / 0.5576 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1625, allocations: 8 kB / 0.5577 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1625, allocations: 0 / 0.5577 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1626, allocations: 31.97 kB / 0.5577 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.1632, allocations: 400.6 kB / 0.5581 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1634, allocations: 42.56 kB / 0.5581 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.77e-05/0.1634, allocations: 20.94 kB / 0.5581 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1635, allocations: 4 kB / 0.5581 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1635, allocations: 30.56 kB / 0.5582 GB, free: 4.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1635, allocations: 4 kB / 0.5582 GB, free: 4.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001092/0.1646, allocations: 316.6 kB / 0.5585 GB, free: 3.914 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.1646, allocations: 51.41 kB / 0.5585 GB, free: 3.852 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000993/0.1656, allocations: 0.8814 MB / 0.5594 GB, free: 2.957 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1656, allocations: 29.7 kB / 0.5594 GB, free: 2.922 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.1659, allocations: 224.1 kB / 0.5596 GB, free: 2.699 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.694e-05/0.1659, allocations: 31.73 kB / 0.5596 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.166, allocations: 25.7 kB / 0.5597 GB, free: 2.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.1662, allocations: 366.8 kB / 0.56 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9e-05/0.1663, allocations: 23.98 kB / 0.56 GB, free: 2.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.1664, allocations: 19.98 kB / 0.5601 GB, free: 2.227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.1665, allocations: 60.83 kB / 0.5601 GB, free: 2.164 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1665, allocations: 0 / 0.5601 GB, free: 2.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002727/0.1668, allocations: 133.4 kB / 0.5602 GB, free: 2.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1668, allocations: 10.03 kB / 0.5603 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1668, allocations: 0 / 0.5603 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1669, allocations: 11.86 kB / 0.5603 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.167, allocations: 16 kB / 0.5603 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.167, allocations: 0 / 0.5603 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.072e-05/0.1671, allocations: 11.98 kB / 0.5603 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.1671, allocations: 432 / 0.5603 GB, free: 1.98 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 (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.0002345/0.1673, allocations: 216 kB / 0.5605 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/0.1674, allocations: 47.67 kB / 0.5605 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.1678, allocations: 169.8 kB / 0.5607 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.1678, allocations: 7.922 kB / 0.5607 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1678, allocations: 4 kB / 0.5607 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1678, allocations: 0 / 0.5607 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007299/0.1685, allocations: 0.5109 MB / 0.5612 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1685, allocations: 0 / 0.5612 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.559e-05/0.1686, allocations: 19.92 kB / 0.5612 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1686, allocations: 4 kB / 0.5612 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1686, allocations: 0 / 0.5612 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1686, allocations: 0 / 0.5612 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1686, allocations: 0 / 0.5612 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.1689, allocations: 260 kB / 0.5615 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.169, allocations: 116.8 kB / 0.5616 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1691, allocations: 0 / 0.5616 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.1692, allocations: 8 kB / 0.5616 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.1692, allocations: 11.92 kB / 0.5616 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1692, allocations: 4 kB / 0.5616 GB, free: 0.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007057/0.1699, allocations: 0.6589 MB / 0.5623 GB, free: 15.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1699, allocations: 0 / 0.5623 GB, free: 15.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.1702, allocations: 31.94 kB / 0.5623 GB, free: 15.81 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.002406/0.1726, allocations: 1.126 MB / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.1728, allocations: 63.95 kB / 0.5635 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1728, allocations: 0 / 0.5635 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.775e-05/0.1729, allocations: 39.97 kB / 0.5635 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.1734, allocations: 26.3 kB / 0.5635 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.1778, allocations: 3.333 MB / 0.5668 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.1784, allocations: 0.8299 MB / 0.5676 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.55e-05/0.1785, allocations: 16.42 kB / 0.5676 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.1786, allocations: 115.3 kB / 0.5677 GB, free: 10.31 MB / 430.1 MB Notification: Performance of SimCode: time 1.674e-06/0.1786, allocations: 0 / 0.5677 GB, free: 10.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.2074, allocations: 6.451 MB / 0.574 GB, free: 3.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.928/9.135, allocations: 11.02 kB / 0.574 GB, free: 3.906 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.477592698996887]