Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.00156/0.00156, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001569/0.001569, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.517/1.517, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2424/0.2424, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003029/0.003029, allocations: 63.91 kB / 0.491 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1503, allocations: 65.99 MB / 0.5554 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003592/0.1539, allocations: 1.681 MB / 0.5571 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1551, allocations: 0.5533 MB / 0.5576 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.59e-05/0.1551, allocations: 7.938 kB / 0.5576 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.1558, allocations: 455.1 kB / 0.558 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.1563, allocations: 295.3 kB / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.1567, allocations: 131 kB / 0.5584 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.157, allocations: 171.7 kB / 0.5586 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1571, allocations: 12 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.1573, allocations: 119.7 kB / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.1576, allocations: 243.5 kB / 0.559 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1576, allocations: 4 kB / 0.559 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1577, allocations: 55.95 kB / 0.559 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1578, allocations: 87.58 kB / 0.5591 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.795e-05/0.1579, allocations: 107 kB / 0.5592 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.1583, allocations: 282.5 kB / 0.5595 GB, free: 1.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1583, allocations: 0 / 0.5595 GB, free: 1.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1583, allocations: 3.984 kB / 0.5595 GB, free: 1.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1584, allocations: 0 / 0.5595 GB, free: 1.652 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.0008924/0.1592, allocations: 0.6684 MB / 0.5601 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1593, allocations: 12.03 kB / 0.5601 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.1593, allocations: 38.73 kB / 0.5602 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.1594, allocations: 44.66 kB / 0.5602 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.1598, allocations: 304.6 kB / 0.5605 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.1598, allocations: 4.375 kB / 0.5605 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.1598, allocations: 12.36 kB / 0.5605 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.16, allocations: 57.62 kB / 0.5606 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.16, allocations: 0 / 0.5606 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.16, allocations: 0 / 0.5606 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.16, allocations: 0 / 0.5606 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1602, allocations: 31.91 kB / 0.5606 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.1607, allocations: 404.7 kB / 0.561 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1609, allocations: 50.59 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.1609, allocations: 24.88 kB / 0.5611 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1609, allocations: 0 / 0.5611 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.161, allocations: 30.56 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.161, allocations: 0 / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.00102/0.162, allocations: 320.5 kB / 0.5614 GB, free: 15.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.162, allocations: 59.34 kB / 0.5615 GB, free: 15.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009429/0.163, allocations: 0.8738 MB / 0.5623 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.163, allocations: 25.7 kB / 0.5623 GB, free: 14.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.1632, allocations: 232.1 kB / 0.5626 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.1632, allocations: 31.73 kB / 0.5626 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.1633, allocations: 17.72 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.1635, allocations: 370.8 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1636, allocations: 23.92 kB / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-05/0.1637, allocations: 23.98 kB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1639, allocations: 72.73 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1639, allocations: 0 / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002706/0.1641, allocations: 129.4 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1641, allocations: 10.03 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1642, allocations: 0 / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1642, allocations: 0 / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1643, allocations: 31.86 kB / 0.5632 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1643, allocations: 0 / 0.5632 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.1644, allocations: 4 kB / 0.5632 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1644, allocations: 4 kB / 0.5632 GB, free: 13.55 MB / 430.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.0002119/0.1646, allocations: 216 kB / 0.5635 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.1647, allocations: 47.67 kB / 0.5635 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.165, allocations: 157.9 kB / 0.5636 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.165, allocations: 3.938 kB / 0.5637 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.165, allocations: 432 / 0.5637 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.165, allocations: 4 kB / 0.5637 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007087/0.1657, allocations: 0.5109 MB / 0.5642 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1657, allocations: 4 kB / 0.5642 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.503e-05/0.1658, allocations: 15.98 kB / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1658, allocations: 0 / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1658, allocations: 7.984 kB / 0.5642 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1658, allocations: 3.938 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1658, allocations: 4.031 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.1662, allocations: 251.9 kB / 0.5644 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/0.1663, allocations: 116.8 kB / 0.5645 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1663, allocations: 0 / 0.5645 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1664, allocations: 11.94 kB / 0.5646 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.1664, allocations: 11.98 kB / 0.5646 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1664, allocations: 0 / 0.5646 GB, free: 12.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007202/0.1671, allocations: 0.6589 MB / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1671, allocations: 0 / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.1675, allocations: 31.94 kB / 0.5652 GB, free: 11.39 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.002329/0.1698, allocations: 1.125 MB / 0.5663 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.17, allocations: 63.95 kB / 0.5664 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.17, allocations: 0 / 0.5664 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.542e-05/0.1701, allocations: 35.92 kB / 0.5664 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.1705, allocations: 30.23 kB / 0.5665 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.1749, allocations: 3.332 MB / 0.5697 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.1754, allocations: 0.826 MB / 0.5705 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.831e-05/0.1755, allocations: 20.34 kB / 0.5705 GB, free: 6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.1756, allocations: 107.4 kB / 0.5706 GB, free: 5.895 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1756, allocations: 4 kB / 0.5706 GB, free: 5.891 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.2082, allocations: 6.413 MB / 0.5769 GB, free: 15.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.7/8.909, allocations: 7.031 kB / 0.5769 GB, free: 15.51 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.120367560070008]