Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001321/0.001321, 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.001415/0.001415, 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.575/1.575, 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.2439/0.2439, allocations: 46.93 MB / 357.8 MB, free: 10.31 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 72.08 kB / 0.4917 GB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1535, allocations: 65.98 MB / 0.5561 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.00379/0.1573, allocations: 1.679 MB / 0.5577 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1585, allocations: 0.5688 MB / 0.5583 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.1586, allocations: 0 / 0.5583 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006608/0.1592, allocations: 451.1 kB / 0.5587 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005282/0.1597, allocations: 295.3 kB / 0.559 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.1601, allocations: 127.4 kB / 0.5591 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.1604, allocations: 171.7 kB / 0.5593 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1606, allocations: 15.98 kB / 0.5593 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.1607, allocations: 115.7 kB / 0.5594 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.161, allocations: 255.5 kB / 0.5597 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1611, allocations: 4 kB / 0.5597 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1612, allocations: 51.92 kB / 0.5597 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1613, allocations: 83.69 kB / 0.5598 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.1614, allocations: 103 kB / 0.5599 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.1618, allocations: 290.4 kB / 0.5602 GB, free: 1.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1618, allocations: 0 / 0.5602 GB, free: 1.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1618, allocations: 3.938 kB / 0.5602 GB, free: 1.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1618, allocations: 4 kB / 0.5602 GB, free: 1.621 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.0008957/0.1627, allocations: 0.6645 MB / 0.5608 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.1628, allocations: 12.03 kB / 0.5608 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.917e-05/0.1628, allocations: 4.188 kB / 0.5608 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.1629, allocations: 38.73 kB / 0.5609 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.522e-05/0.1629, allocations: 40.66 kB / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.1633, allocations: 304.6 kB / 0.5612 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1633, allocations: 8.375 kB / 0.5612 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1633, allocations: 8.125 kB / 0.5612 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1635, allocations: 61.61 kB / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1635, allocations: 0 / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1635, allocations: 0 / 0.5613 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1635, allocations: 4 kB / 0.5613 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1636, allocations: 27.98 kB / 0.5613 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.1642, allocations: 404.5 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.1643, allocations: 46.56 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.1644, allocations: 16.94 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1644, allocations: 0 / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.1644, allocations: 38.59 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1644, allocations: 0 / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001063/0.1655, allocations: 324.4 kB / 0.5621 GB, free: 15.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1655, allocations: 51.41 kB / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009942/0.1665, allocations: 0.8699 MB / 0.563 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1666, allocations: 25.7 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.1667, allocations: 228.1 kB / 0.5632 GB, free: 14.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.1668, allocations: 35.73 kB / 0.5633 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.1668, allocations: 29.7 kB / 0.5633 GB, free: 14.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.167, allocations: 358.8 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.1671, allocations: 27.98 kB / 0.5637 GB, free: 13.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.1672, allocations: 27.97 kB / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.1674, allocations: 60.83 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1674, allocations: 4 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002743/0.1677, allocations: 137.3 kB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1677, allocations: 4 kB / 0.5639 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1677, allocations: 0 / 0.5639 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1677, allocations: 7.875 kB / 0.5639 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.1678, allocations: 19.98 kB / 0.5639 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.1678, allocations: 0 / 0.5639 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.653e-05/0.1679, allocations: 8.406 kB / 0.5639 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1679, allocations: 8 kB / 0.5639 GB, free: 13.52 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.0002262/0.1682, allocations: 212 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/0.1682, allocations: 43.67 kB / 0.5642 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.1687, allocations: 173.8 kB / 0.5643 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.1687, allocations: 11.92 kB / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1687, allocations: 0 / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1687, allocations: 4 kB / 0.5644 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000756/0.1695, allocations: 0.4992 MB / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1695, allocations: 0 / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.143e-05/0.1695, allocations: 19.98 kB / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1696, allocations: 3.938 kB / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1696, allocations: 0 / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1696, allocations: 3.938 kB / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1696, allocations: 4.031 kB / 0.5649 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.1699, allocations: 244 kB / 0.5651 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.17, allocations: 116.8 kB / 0.5652 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.17, allocations: 0 / 0.5652 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.896e-05/0.1701, allocations: 7.984 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1702, allocations: 8 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1702, allocations: 11.98 kB / 0.5652 GB, free: 12.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007005/0.1709, allocations: 0.655 MB / 0.5659 GB, free: 11.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1709, allocations: 0 / 0.5659 GB, free: 11.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000292/0.1712, allocations: 27.92 kB / 0.5659 GB, free: 11.38 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.002367/0.1736, allocations: 1.135 MB / 0.567 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.1738, allocations: 67.91 kB / 0.5671 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1738, allocations: 3.938 kB / 0.5671 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.174, allocations: 35.97 kB / 0.5671 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.1744, allocations: 22.31 kB / 0.5671 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.1788, allocations: 3.345 MB / 0.5704 GB, free: 6.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.1793, allocations: 0.826 MB / 0.5712 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.905e-05/0.1793, allocations: 8.438 kB / 0.5712 GB, free: 5.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.1795, allocations: 107.4 kB / 0.5713 GB, free: 5.867 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1795, allocations: 4 kB / 0.5713 GB, free: 5.863 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.2075, allocations: 6.463 MB / 0.5776 GB, free: 15.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.969/9.176, allocations: 6.75 kB / 0.5776 GB, free: 15.45 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.567002023977693]