Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001788/0.001788, 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.002119/0.002119, allocations: 204.3 kB / 20.74 MB, free: 2.316 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.481/1.481, 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.3043/0.3043, allocations: 44.9 MB / 355.1 MB, free: 12.35 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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001934/0.001934, allocations: 63.89 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1425, allocations: 65.43 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.004245/0.1467, allocations: 1.659 MB / 0.5534 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.1494, allocations: 1.21 MB / 0.5546 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.513e-05/0.1495, allocations: 0 / 0.5546 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.1498, allocations: 31.78 kB / 0.5546 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.1502, allocations: 83.62 kB / 0.5547 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.1508, allocations: 170.7 kB / 0.5549 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.151, allocations: 83.75 kB / 0.5549 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1512, allocations: 16.22 kB / 0.5549 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.711e-05/0.1513, allocations: 39.83 kB / 0.555 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.1515, allocations: 35.8 kB / 0.555 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1515, allocations: 4 kB / 0.555 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.1518, allocations: 103.9 kB / 0.5551 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.1519, allocations: 27.91 kB / 0.5552 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.989e-05/0.1519, allocations: 31.8 kB / 0.5552 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.1523, allocations: 155.4 kB / 0.5553 GB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1523, allocations: 0 / 0.5553 GB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1523, allocations: 0 / 0.5553 GB, free: 6.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.1523, allocations: 0 / 0.5553 GB, free: 6.469 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.0008094/0.1532, allocations: 426.6 kB / 0.5557 GB, free: 6.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1532, allocations: 8.031 kB / 0.5557 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.1533, allocations: 34.75 kB / 0.5558 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.1533, allocations: 16.89 kB / 0.5558 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.1536, allocations: 204.2 kB / 0.556 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1537, allocations: 4.359 kB / 0.556 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1537, allocations: 384 / 0.556 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.154, allocations: 79.33 kB / 0.5561 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.154, allocations: 4 kB / 0.5561 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.154, allocations: 0 / 0.5561 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.154, allocations: 0 / 0.5561 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.1542, allocations: 51.89 kB / 0.5561 GB, free: 5.551 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.1548, allocations: 320.6 kB / 0.5564 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.155, allocations: 42.56 kB / 0.5565 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1551, allocations: 24.92 kB / 0.5565 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1552, allocations: 8 kB / 0.5565 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.1552, allocations: 30.56 kB / 0.5565 GB, free: 5.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1552, allocations: 0 / 0.5565 GB, free: 5.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001201/0.1564, allocations: 225.3 kB / 0.5567 GB, free: 4.836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.1565, allocations: 81.11 kB / 0.5568 GB, free: 4.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.1567, allocations: 163.1 kB / 0.557 GB, free: 4.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.1568, allocations: 25.7 kB / 0.557 GB, free: 4.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1569, allocations: 104 kB / 0.5571 GB, free: 4.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.1569, allocations: 23.92 kB / 0.5571 GB, free: 4.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.157, allocations: 25.64 kB / 0.5571 GB, free: 4.379 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1572, allocations: 326.8 kB / 0.5575 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.1573, allocations: 35.97 kB / 0.5575 GB, free: 4.016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.1575, allocations: 49.69 kB / 0.5575 GB, free: 3.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.1579, allocations: 96.72 kB / 0.5576 GB, free: 3.863 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1579, allocations: 4.031 kB / 0.5576 GB, free: 3.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004678/0.1584, allocations: 117.6 kB / 0.5577 GB, free: 3.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1584, allocations: 6.188 kB / 0.5578 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1584, allocations: 0 / 0.5578 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1584, allocations: 0 / 0.5578 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.1586, allocations: 27.91 kB / 0.5578 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1586, allocations: 0 / 0.5578 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.1587, allocations: 19.92 kB / 0.5578 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.1587, allocations: 0 / 0.5578 GB, free: 3.688 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.0001302/0.1589, allocations: 124 kB / 0.5579 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.1589, allocations: 11.91 kB / 0.5579 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/0.1595, allocations: 142.6 kB / 0.5581 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1595, allocations: 7.938 kB / 0.5581 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1595, allocations: 0 / 0.5581 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.1595, allocations: 7.922 kB / 0.5581 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008788/0.1603, allocations: 414.4 kB / 0.5585 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1603, allocations: 0 / 0.5585 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.1605, allocations: 15.98 kB / 0.5585 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1605, allocations: 4 kB / 0.5585 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1605, allocations: 11.92 kB / 0.5585 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1605, allocations: 0 / 0.5585 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1605, allocations: 3.938 kB / 0.5585 GB, free: 2.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.161, allocations: 223.4 kB / 0.5587 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.1611, allocations: 85.06 kB / 0.5588 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.1612, allocations: 15.88 kB / 0.5588 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1613, allocations: 11.98 kB / 0.5588 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.1614, allocations: 8.266 kB / 0.5588 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1614, allocations: 0 / 0.5588 GB, free: 2.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.1615, allocations: 120.8 kB / 0.559 GB, free: 2.398 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1615, allocations: 0 / 0.559 GB, free: 2.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.162, allocations: 43.86 kB / 0.559 GB, free: 2.355 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.003047/0.165, allocations: 1.149 MB / 0.5601 GB, free: 1.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004653/0.1655, allocations: 91.86 kB / 0.5602 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1655, allocations: 0 / 0.5602 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.1657, allocations: 55.89 kB / 0.5603 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.1662, allocations: 15.45 kB / 0.5603 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.1697, allocations: 1.659 MB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.1703, allocations: 0.7079 MB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.1705, allocations: 24.7 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.1706, allocations: 35.42 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1706, allocations: 0 / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.2016, allocations: 3.613 MB / 0.5662 GB, free: 11.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.298, allocations: 3.984 kB / 0.5662 GB, free: 11.07 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_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_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.53605871181935]