Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.00162/0.00162, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001812/0.001812, allocations: 203.3 kB / 20.74 MB, free: 2.34 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.614/1.614, 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.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.2684/0.2684, allocations: 44.9 MB / 355.1 MB, free: 12.36 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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",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.002027/0.002027, allocations: 63.89 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1305, allocations: 65.42 MB / 0.5518 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003359/0.1338, allocations: 1.673 MB / 0.5534 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1359, allocations: 1.206 MB / 0.5546 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.1359, allocations: 4 kB / 0.5546 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.1362, allocations: 31.78 kB / 0.5546 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.1365, allocations: 83.56 kB / 0.5547 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.1371, allocations: 178.9 kB / 0.5549 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1373, allocations: 83.7 kB / 0.5549 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1374, allocations: 16.22 kB / 0.555 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.1375, allocations: 39.83 kB / 0.555 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1376, allocations: 31.84 kB / 0.555 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1376, allocations: 4 kB / 0.555 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.1378, allocations: 103.9 kB / 0.5551 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.1379, allocations: 31.91 kB / 0.5552 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.1379, allocations: 27.8 kB / 0.5552 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.1382, allocations: 151.5 kB / 0.5553 GB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1382, allocations: 0 / 0.5553 GB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1382, allocations: 4 kB / 0.5553 GB, free: 6.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1382, allocations: 0 / 0.5553 GB, free: 6.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00063/0.1389, allocations: 430.6 kB / 0.5557 GB, free: 6.012 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1389, allocations: 8.031 kB / 0.5558 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.139, allocations: 34.75 kB / 0.5558 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.139, allocations: 16.89 kB / 0.5558 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1393, allocations: 196.2 kB / 0.556 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1394, allocations: 8.359 kB / 0.556 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1394, allocations: 384 / 0.556 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.1396, allocations: 83.27 kB / 0.5561 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1396, allocations: 0 / 0.5561 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1396, allocations: 0 / 0.5561 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1396, allocations: 4 kB / 0.5561 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1398, allocations: 39.95 kB / 0.5561 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.1403, allocations: 316.7 kB / 0.5564 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.1404, allocations: 46.5 kB / 0.5565 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.1405, allocations: 32.92 kB / 0.5565 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1405, allocations: 0 / 0.5565 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1406, allocations: 34.56 kB / 0.5565 GB, free: 5.078 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1406, allocations: 0 / 0.5565 GB, free: 5.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000853/0.1414, allocations: 233.4 kB / 0.5568 GB, free: 4.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.1415, allocations: 77.11 kB / 0.5568 GB, free: 4.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.1418, allocations: 167.1 kB / 0.557 GB, free: 4.578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1418, allocations: 25.7 kB / 0.557 GB, free: 4.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.1418, allocations: 104 kB / 0.5571 GB, free: 4.441 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.1419, allocations: 15.86 kB / 0.5571 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.1419, allocations: 25.7 kB / 0.5571 GB, free: 4.395 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1421, allocations: 326.8 kB / 0.5575 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1422, allocations: 35.97 kB / 0.5575 GB, free: 4.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1423, allocations: 53.62 kB / 0.5575 GB, free: 3.973 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.1426, allocations: 96.75 kB / 0.5576 GB, free: 3.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1426, allocations: 3.938 kB / 0.5576 GB, free: 3.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003306/0.1429, allocations: 121.6 kB / 0.5578 GB, free: 3.746 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1429, allocations: 8 kB / 0.5578 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1429, allocations: 0 / 0.5578 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1429, allocations: 0 / 0.5578 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.1431, allocations: 23.97 kB / 0.5578 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1431, allocations: 0 / 0.5578 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.354e-05/0.1432, allocations: 19.92 kB / 0.5578 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1432, allocations: 0 / 0.5578 GB, free: 3.695 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 (7): * Single equations (assignments): 7 * 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.0001315/0.1433, allocations: 128 kB / 0.5579 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.1434, allocations: 11.91 kB / 0.5579 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/0.1438, allocations: 138.6 kB / 0.5581 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1438, allocations: 4 kB / 0.5581 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1438, allocations: 0 / 0.5581 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.1438, allocations: 7.922 kB / 0.5581 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008068/0.1446, allocations: 414.4 kB / 0.5585 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1446, allocations: 4 kB / 0.5585 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.902e-05/0.1447, allocations: 15.98 kB / 0.5585 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1447, allocations: 4 kB / 0.5585 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1447, allocations: 11.94 kB / 0.5585 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1447, allocations: 3.984 kB / 0.5585 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1447, allocations: 4 kB / 0.5585 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.1451, allocations: 219.4 kB / 0.5587 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.1452, allocations: 85.06 kB / 0.5588 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1452, allocations: 7.938 kB / 0.5588 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1453, allocations: 15.98 kB / 0.5588 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1453, allocations: 3.984 kB / 0.5588 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1453, allocations: 4 kB / 0.5588 GB, free: 2.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1455, allocations: 116.8 kB / 0.559 GB, free: 2.414 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1455, allocations: 0 / 0.559 GB, free: 2.414 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000323/0.1458, allocations: 43.86 kB / 0.559 GB, free: 2.371 MB / 414.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 (7): * Single equations (assignments): 7 * 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.002543/0.1483, allocations: 1.15 MB / 0.5601 GB, free: 1.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003825/0.1487, allocations: 91.86 kB / 0.5602 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1487, allocations: 4 kB / 0.5602 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.1489, allocations: 47.95 kB / 0.5603 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1492, allocations: 14.81 kB / 0.5603 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.1517, allocations: 1.655 MB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.152, allocations: 0.7039 MB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.1522, allocations: 28.7 kB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1523, allocations: 35.42 kB / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1523, allocations: 0 / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.1805, allocations: 3.624 MB / 0.5662 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.417, allocations: 3.984 kB / 0.5662 GB, free: 11.09 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.822562422137707]