Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001915/0.001915, allocations: 127.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.001993/0.001993, 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.61/1.61, 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.24/0.24, allocations: 46.92 MB / 357.1 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.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.89 kB / 0.4909 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1352, allocations: 65.99 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003243/0.1384, allocations: 1.647 MB / 0.557 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009629/0.1394, allocations: 0.688 MB / 0.5577 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.1394, allocations: 0 / 0.5577 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.1397, allocations: 31.83 kB / 0.5577 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.1399, allocations: 43.84 kB / 0.5577 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.619e-06/0.1399, allocations: 3.938 kB / 0.5577 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.14, allocations: 35.89 kB / 0.5578 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.239e-05/0.1401, allocations: 0 / 0.5578 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.14e-05/0.1401, allocations: 15.86 kB / 0.5578 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/0.1402, allocations: 18.03 kB / 0.5578 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1402, allocations: 4 kB / 0.5578 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.025e-05/0.1403, allocations: 8 kB / 0.5578 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.1403, allocations: 15.92 kB / 0.5578 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.1404, allocations: 27.81 kB / 0.5579 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.1405, allocations: 71.61 kB / 0.5579 GB, free: 3.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1405, allocations: 0 / 0.5579 GB, free: 3.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1405, allocations: 0 / 0.5579 GB, free: 3.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1405, allocations: 0 / 0.5579 GB, free: 3.207 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000492/0.141, allocations: 371.1 kB / 0.5583 GB, free: 2.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.141, allocations: 12.03 kB / 0.5583 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.1411, allocations: 42.73 kB / 0.5583 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.1411, allocations: 4.891 kB / 0.5583 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1413, allocations: 184.2 kB / 0.5585 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.1413, allocations: 384 / 0.5585 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.1413, allocations: 4.375 kB / 0.5585 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1415, allocations: 123.3 kB / 0.5586 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1415, allocations: 3.938 kB / 0.5586 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1415, allocations: 4 kB / 0.5586 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/0.1416, allocations: 31.92 kB / 0.5587 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.497e-05/0.1416, allocations: 43.91 kB / 0.5587 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007248/0.1424, allocations: 0.8907 MB / 0.5596 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.1425, allocations: 169.1 kB / 0.5597 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.1425, allocations: 84.08 kB / 0.5598 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.1425, allocations: 75.28 kB / 0.5599 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.939e-05/0.1426, allocations: 113.9 kB / 0.56 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.705e-06/0.1426, allocations: 3.938 kB / 0.56 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001135/0.1427, allocations: 37.61 kB / 0.56 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.1428, allocations: 126.7 kB / 0.5602 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.143, allocations: 184.4 kB / 0.5603 GB, free: 500 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.143, allocations: 25.7 kB / 0.5604 GB, free: 468 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1431, allocations: 151.5 kB / 0.5605 GB, free: 312 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-06/0.1431, allocations: 3.953 kB / 0.5605 GB, free: 308 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.1431, allocations: 49.66 kB / 0.5606 GB, free: 252 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1433, allocations: 322.8 kB / 0.5609 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.633e-05/0.1433, allocations: 27.98 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.1435, allocations: 154.3 kB / 0.561 GB, free: 15.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.1437, allocations: 208.9 kB / 0.5612 GB, free: 15.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1437, allocations: 4 kB / 0.5612 GB, free: 15.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003166/0.1441, allocations: 205.5 kB / 0.5614 GB, free: 15.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1441, allocations: 12.12 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1441, allocations: 4 kB / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1441, allocations: 8 kB / 0.5615 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1442, allocations: 35.92 kB / 0.5615 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.1443, allocations: 4 kB / 0.5615 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.856e-05/0.1444, allocations: 23.83 kB / 0.5615 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1444, allocations: 12 kB / 0.5615 GB, free: 15.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001407/0.1445, allocations: 209.9 kB / 0.5617 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.1446, allocations: 124.8 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.361e-05/0.1447, allocations: 120.6 kB / 0.562 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.413e-05/0.1447, allocations: 184.2 kB / 0.5621 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.039e-05/0.1448, allocations: 176.3 kB / 0.5623 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.415e-05/0.1449, allocations: 176.3 kB / 0.5625 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.1453, allocations: 433.1 kB / 0.5629 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.165e-05/0.1453, allocations: 105 kB / 0.563 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.1453, allocations: 108.9 kB / 0.5631 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.422e-05/0.1454, allocations: 180.2 kB / 0.5633 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.639e-05/0.1455, allocations: 176.3 kB / 0.5634 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-05/0.1456, allocations: 180.2 kB / 0.5636 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.626e-05/0.1457, allocations: 184.3 kB / 0.5638 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.1458, allocations: 323.6 kB / 0.5641 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.785e-05/0.1459, allocations: 186 kB / 0.5643 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.146, allocations: 180.2 kB / 0.5644 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1461, allocations: 109 kB / 0.5646 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1462, allocations: 192.2 kB / 0.5647 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.1463, allocations: 101 kB / 0.5648 GB, free: 11.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1464, allocations: 127.2 kB / 0.565 GB, free: 11.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1464, allocations: 0 / 0.565 GB, free: 11.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003451/0.1468, allocations: 19.94 kB / 0.565 GB, free: 11.37 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 (0): * Single equations (assignments): 0 * 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.001136/0.1479, allocations: 0.9218 MB / 0.5659 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.1481, allocations: 72.84 kB / 0.5659 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1481, allocations: 0 / 0.5659 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.1481, allocations: 192 / 0.5659 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.1486, allocations: 463.7 kB / 0.5664 GB, free: 9.945 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1505, allocations: 1.876 MB / 0.5682 GB, free: 7.863 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1508, allocations: 0.6967 MB / 0.5689 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002639/0.151, allocations: 53.02 kB / 0.5689 GB, free: 7.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.1511, allocations: 27.42 kB / 0.569 GB, free: 7.062 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1511, allocations: 4 kB / 0.569 GB, free: 7.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.177, allocations: 2.136 MB / 0.5711 GB, free: 4.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.053, allocations: 12.92 kB / 0.5711 GB, free: 4.957 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.3486331509921]