Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.001823/0.001823, allocations: 124.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.002125/0.002125, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.6/1.6, 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.2751/0.2751, allocations: 46.93 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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 59.91 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1464, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.00342/0.1499, allocations: 1.62 MB / 0.557 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.151, allocations: 0.5377 MB / 0.5575 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.151, allocations: 4 kB / 0.5575 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1514, allocations: 103.7 kB / 0.5576 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.1517, allocations: 131.5 kB / 0.5577 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.152, allocations: 87.75 kB / 0.5578 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1522, allocations: 95.73 kB / 0.5579 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1523, allocations: 12 kB / 0.5579 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.192e-05/0.1524, allocations: 51.75 kB / 0.558 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1525, allocations: 71.8 kB / 0.558 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1525, allocations: 0 / 0.558 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.91e-05/0.1526, allocations: 43.98 kB / 0.5581 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.1527, allocations: 19.92 kB / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.1527, allocations: 39.69 kB / 0.5581 GB, free: 3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.153, allocations: 123.4 kB / 0.5583 GB, free: 2.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.153, allocations: 0 / 0.5583 GB, free: 2.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.153, allocations: 3.938 kB / 0.5583 GB, free: 2.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.153, allocations: 0 / 0.5583 GB, free: 2.875 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.0005886/0.1536, allocations: 434.6 kB / 0.5587 GB, free: 2.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1536, allocations: 12.03 kB / 0.5587 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.1536, allocations: 34.73 kB / 0.5587 GB, free: 2.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.1537, allocations: 8.891 kB / 0.5587 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1539, allocations: 208.9 kB / 0.5589 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1539, allocations: 12.36 kB / 0.5589 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1539, allocations: 4.375 kB / 0.5589 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1541, allocations: 61.53 kB / 0.559 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1541, allocations: 3.953 kB / 0.559 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1541, allocations: 4 kB / 0.559 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1541, allocations: 0 / 0.559 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1542, allocations: 27.97 kB / 0.559 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.1546, allocations: 296.8 kB / 0.5593 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1548, allocations: 42.5 kB / 0.5594 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.1548, allocations: 24.88 kB / 0.5594 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1548, allocations: 0 / 0.5594 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1549, allocations: 30.56 kB / 0.5594 GB, free: 1.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1549, allocations: 4 kB / 0.5594 GB, free: 1.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009162/0.1558, allocations: 229.2 kB / 0.5596 GB, free: 1.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1558, allocations: 55.39 kB / 0.5597 GB, free: 1.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.1561, allocations: 254 kB / 0.5599 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1561, allocations: 29.7 kB / 0.56 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-05/0.1562, allocations: 112.1 kB / 0.5601 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.1562, allocations: 39.73 kB / 0.5601 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.1563, allocations: 17.72 kB / 0.5601 GB, free: 0.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1565, allocations: 330.8 kB / 0.5604 GB, free: 428 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/0.1566, allocations: 19.98 kB / 0.5605 GB, free: 408 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.64e-05/0.1566, allocations: 31.91 kB / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.1568, allocations: 60.83 kB / 0.5605 GB, free: 312 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1568, allocations: 0 / 0.5605 GB, free: 312 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002191/0.157, allocations: 101.6 kB / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.157, allocations: 9.719 kB / 0.5606 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1571, allocations: 0 / 0.5606 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1571, allocations: 0 / 0.5606 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1572, allocations: 15.98 kB / 0.5607 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.1572, allocations: 3.938 kB / 0.5607 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/0.1572, allocations: 19.92 kB / 0.5607 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1573, allocations: 4 kB / 0.5607 GB, free: 152 kB / 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 (8): * Single equations (assignments): 8 * 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.0001037/0.1574, allocations: 125.8 kB / 0.5608 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.1574, allocations: 15.98 kB / 0.5608 GB, free: 16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.1577, allocations: 127.2 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1577, allocations: 4 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1577, allocations: 3.938 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1577, allocations: 4.422 kB / 0.561 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/0.1583, allocations: 411.3 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1583, allocations: 3.938 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.1584, allocations: 23.86 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1584, allocations: 0 / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1584, allocations: 4 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1584, allocations: 0 / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1584, allocations: 4.031 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1587, allocations: 208.3 kB / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.1587, allocations: 92.98 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.1587, allocations: 4 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.1588, allocations: 0 / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1589, allocations: 15.92 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.1589, allocations: 8 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.159, allocations: 188.4 kB / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.159, allocations: 0 / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1593, allocations: 23.94 kB / 0.5619 GB, free: 14.79 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002149/0.1615, allocations: 1.094 MB / 0.563 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1617, allocations: 67.89 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1617, allocations: 0 / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.129e-05/0.1618, allocations: 39.91 kB / 0.5631 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.1621, allocations: 23.25 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.1642, allocations: 1.756 MB / 0.5648 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1646, allocations: 0.7119 MB / 0.5655 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.897e-05/0.1646, allocations: 12.66 kB / 0.5655 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.1647, allocations: 35.42 kB / 0.5656 GB, free: 11.09 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1647, allocations: 0 / 0.5656 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.1896, allocations: 3.306 MB / 0.5688 GB, free: 7.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.078, allocations: 4.766 kB / 0.5688 GB, free: 7.832 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.500687512001605]