Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001928/0.001928, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002408/0.002408, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.542/1.542, allocations: 230.6 MB / 254.1 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.2513/0.2513, allocations: 46.91 MB / 357.1 MB, free: 10.32 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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.91 kB / 0.4909 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1398, allocations: 66 MB / 0.5554 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003176/0.143, allocations: 1.617 MB / 0.557 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1441, allocations: 0.5533 MB / 0.5575 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.1441, allocations: 3.938 kB / 0.5575 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.1448, allocations: 459.1 kB / 0.5579 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005346/0.1453, allocations: 291.2 kB / 0.5582 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.1457, allocations: 170.7 kB / 0.5584 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.146, allocations: 167.6 kB / 0.5585 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1461, allocations: 15.98 kB / 0.5586 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1462, allocations: 107.7 kB / 0.5587 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.1465, allocations: 247.5 kB / 0.5589 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1466, allocations: 4 kB / 0.5589 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.392e-05/0.1466, allocations: 31.92 kB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.1467, allocations: 83.69 kB / 0.559 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.209e-05/0.1468, allocations: 103 kB / 0.5591 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.1472, allocations: 254.6 kB / 0.5594 GB, free: 1.742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1472, allocations: 0 / 0.5594 GB, free: 1.742 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1472, allocations: 3.938 kB / 0.5594 GB, free: 1.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1472, allocations: 0 / 0.5594 GB, free: 1.738 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.0007666/0.148, allocations: 0.6607 MB / 0.56 GB, free: 1.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.148, allocations: 8.031 kB / 0.56 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.148, allocations: 34.69 kB / 0.56 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.1481, allocations: 44.66 kB / 0.5601 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1484, allocations: 312.6 kB / 0.5604 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1484, allocations: 4.375 kB / 0.5604 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/0.1484, allocations: 384 / 0.5604 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1485, allocations: 53.56 kB / 0.5604 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1486, allocations: 0 / 0.5604 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1486, allocations: 0 / 0.5604 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1486, allocations: 8 kB / 0.5605 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.727e-05/0.1487, allocations: 27.97 kB / 0.5605 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.1492, allocations: 384.8 kB / 0.5608 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.613e-05/0.1493, allocations: 34.5 kB / 0.5609 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.1493, allocations: 16.91 kB / 0.5609 GB, free: 0 / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1493, allocations: 4.047 kB / 0.5609 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1494, allocations: 34.56 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1494, allocations: 0 / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002865/0.1496, allocations: 109.3 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1497, allocations: 51.41 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/0.1506, allocations: 0.8815 MB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1506, allocations: 25.7 kB / 0.562 GB, free: 14.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.1508, allocations: 228.2 kB / 0.5622 GB, free: 14.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.1508, allocations: 11.88 kB / 0.5622 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1509, allocations: 17.72 kB / 0.5622 GB, free: 14.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.151, allocations: 362.7 kB / 0.5626 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.1511, allocations: 8 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.67e-05/0.1511, allocations: 11.98 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.133e-05/0.1512, allocations: 28.91 kB / 0.5626 GB, free: 14.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1512, allocations: 4 kB / 0.5626 GB, free: 14.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001627/0.1514, allocations: 93.39 kB / 0.5627 GB, free: 14.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1514, allocations: 4 kB / 0.5627 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1514, allocations: 0 / 0.5627 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1514, allocations: 4 kB / 0.5627 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.1515, allocations: 7.938 kB / 0.5627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1515, allocations: 0 / 0.5627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.081e-05/0.1515, allocations: 3.984 kB / 0.5627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1515, allocations: 11.97 kB / 0.5627 GB, free: 14.04 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 (2): * Single equations (assignments): 2 * 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.0001968/0.1517, allocations: 219.9 kB / 0.5629 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.1518, allocations: 43.67 kB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.152, allocations: 116.7 kB / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.152, allocations: 0 / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.152, allocations: 0 / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.152, allocations: 0 / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.1523, allocations: 293.5 kB / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1523, allocations: 0 / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.1524, allocations: 7.984 kB / 0.5634 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1524, allocations: 3.938 kB / 0.5634 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1524, allocations: 0 / 0.5634 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1524, allocations: 0 / 0.5634 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1524, allocations: 4 kB / 0.5634 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.1526, allocations: 191.2 kB / 0.5636 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.1527, allocations: 116.8 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1527, allocations: 0 / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.1528, allocations: 3.984 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.1528, allocations: 4 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1528, allocations: 0 / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000657/0.1535, allocations: 0.6589 MB / 0.5643 GB, free: 12.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1535, allocations: 0 / 0.5643 GB, free: 12.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1537, allocations: 19.94 kB / 0.5644 GB, free: 12.28 MB / 430.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 (2): * Single equations (assignments): 2 * 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.001805/0.1555, allocations: 0.9927 MB / 0.5653 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.1557, allocations: 19.98 kB / 0.5653 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.1557, allocations: 4 kB / 0.5653 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.1557, allocations: 11.98 kB / 0.5654 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.1561, allocations: 22.31 kB / 0.5654 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.1597, allocations: 3.183 MB / 0.5685 GB, free: 8.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.1602, allocations: 0.826 MB / 0.5693 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.935e-05/0.1602, allocations: 19.75 kB / 0.5693 GB, free: 7.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.1604, allocations: 115.4 kB / 0.5694 GB, free: 7.082 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1604, allocations: 0 / 0.5694 GB, free: 7.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.1896, allocations: 5.833 MB / 0.5751 GB, free: 1.301 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.552, allocations: 8 kB / 0.5751 GB, free: 1.293 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.911328463000245]