Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001765/0.001765, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002055/0.002055, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.578/1.578, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2296/0.2296, allocations: 46.92 MB / 357.1 MB, free: 10.41 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.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.91 kB / 0.4909 GB, free: 8.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1413, allocations: 65.99 MB / 0.5554 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003163/0.1444, allocations: 1.668 MB / 0.557 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1464, allocations: 1.214 MB / 0.5582 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.1464, allocations: 0 / 0.5582 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.1466, allocations: 23.86 kB / 0.5582 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.1469, allocations: 87.55 kB / 0.5583 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.1474, allocations: 179.4 kB / 0.5585 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.1476, allocations: 75.81 kB / 0.5586 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1478, allocations: 12 kB / 0.5586 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.1478, allocations: 35.78 kB / 0.5586 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.148, allocations: 41.81 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.148, allocations: 4 kB / 0.5586 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1482, allocations: 107.9 kB / 0.5588 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.1483, allocations: 23.92 kB / 0.5588 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.1484, allocations: 35.78 kB / 0.5588 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1487, allocations: 143.5 kB / 0.5589 GB, free: 2.246 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1487, allocations: 0 / 0.5589 GB, free: 2.246 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.1487, allocations: 3.984 kB / 0.5589 GB, free: 2.242 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1487, allocations: 0 / 0.5589 GB, free: 2.242 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.0007054/0.1494, allocations: 430.6 kB / 0.5594 GB, free: 1.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1495, allocations: 12.03 kB / 0.5594 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.1495, allocations: 34.75 kB / 0.5594 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.1495, allocations: 8.891 kB / 0.5594 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1498, allocations: 208.2 kB / 0.5596 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1498, allocations: 384 / 0.5596 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1498, allocations: 4.375 kB / 0.5596 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.15, allocations: 75.33 kB / 0.5597 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1501, allocations: 0 / 0.5597 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1501, allocations: 7.938 kB / 0.5597 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1501, allocations: 0 / 0.5597 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.1502, allocations: 43.95 kB / 0.5597 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.1508, allocations: 316.7 kB / 0.56 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.1509, allocations: 42.56 kB / 0.5601 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.151, allocations: 32.86 kB / 0.5601 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.151, allocations: 4 kB / 0.5601 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.151, allocations: 30.56 kB / 0.5601 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.151, allocations: 0 / 0.5601 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009332/0.152, allocations: 233.3 kB / 0.5604 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.152, allocations: 81.09 kB / 0.5604 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1522, allocations: 158.7 kB / 0.5606 GB, free: 352 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1522, allocations: 29.7 kB / 0.5606 GB, free: 316 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.1523, allocations: 104 kB / 0.5607 GB, free: 208 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1524, allocations: 23.8 kB / 0.5607 GB, free: 184 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.1524, allocations: 25.7 kB / 0.5608 GB, free: 152 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1526, allocations: 318.8 kB / 0.5611 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1527, allocations: 39.97 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1528, allocations: 53.77 kB / 0.5612 GB, free: 15.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.1531, allocations: 88.77 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1531, allocations: 4.031 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000327/0.1534, allocations: 125.5 kB / 0.5614 GB, free: 15.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1534, allocations: 4 kB / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1534, allocations: 4 kB / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1535, allocations: 0 / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1536, allocations: 19.97 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1536, allocations: 4 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.1537, allocations: 16.2 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1537, allocations: 4 kB / 0.5614 GB, free: 15.46 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 (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.0001102/0.1538, allocations: 116 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.1538, allocations: 15.91 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.1542, allocations: 146.5 kB / 0.5617 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1542, allocations: 4 kB / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1542, allocations: 4 kB / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1542, allocations: 7.922 kB / 0.5617 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/0.1549, allocations: 414.4 kB / 0.5621 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1549, allocations: 0 / 0.5621 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.1549, allocations: 19.98 kB / 0.5621 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.155, allocations: 0 / 0.5621 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.155, allocations: 11.92 kB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.155, allocations: 0 / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.155, allocations: 4 kB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.1553, allocations: 219.4 kB / 0.5623 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.1554, allocations: 85.06 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1554, allocations: 7.938 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1555, allocations: 15.92 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.1556, allocations: 15.92 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.1556, allocations: 4 kB / 0.5625 GB, free: 14.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1557, allocations: 118.5 kB / 0.5626 GB, free: 14.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1557, allocations: 0 / 0.5626 GB, free: 14.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.156, allocations: 43.86 kB / 0.5626 GB, free: 14.12 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 (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.002366/0.1584, allocations: 1.153 MB / 0.5637 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.1587, allocations: 91.86 kB / 0.5638 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1587, allocations: 0 / 0.5638 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.1589, allocations: 47.95 kB / 0.5639 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1592, allocations: 12 kB / 0.5639 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.1615, allocations: 1.655 MB / 0.5655 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1619, allocations: 0.7078 MB / 0.5662 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.549e-05/0.162, allocations: 28.7 kB / 0.5662 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.511e-05/0.1621, allocations: 31.42 kB / 0.5663 GB, free: 10.46 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1621, allocations: 4 kB / 0.5663 GB, free: 10.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.1922, allocations: 3.615 MB / 0.5698 GB, free: 6.848 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.269, allocations: 15.97 kB / 0.5698 GB, free: 6.832 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.559925300010946]