Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.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.001269/0.001269, 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.001305/0.001305, 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.527/1.527, allocations: 230.6 MB / 254.1 MB, free: 15.12 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.2629/0.2629, allocations: 46.92 MB / 357.1 MB, free: 10.34 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.CombiTable1Dv.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1624, allocations: 65.99 MB / 0.5554 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.004205/0.1666, allocations: 1.603 MB / 0.557 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.1692, allocations: 1.179 MB / 0.5581 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/0.1693, allocations: 0 / 0.5581 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.1696, allocations: 31.78 kB / 0.5581 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.1699, allocations: 79.62 kB / 0.5582 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1703, allocations: 103.7 kB / 0.5583 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1705, allocations: 75.75 kB / 0.5584 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1706, allocations: 8 kB / 0.5584 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.51e-05/0.1707, allocations: 31.86 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.1708, allocations: 35.83 kB / 0.5585 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1708, allocations: 4 kB / 0.5585 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.171, allocations: 91.94 kB / 0.5586 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.1711, allocations: 19.92 kB / 0.5586 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.1712, allocations: 23.75 kB / 0.5586 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.1714, allocations: 143.5 kB / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1714, allocations: 0 / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1714, allocations: 0 / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1715, allocations: 4 kB / 0.5587 GB, free: 2.418 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005995/0.1721, allocations: 410.7 kB / 0.5591 GB, free: 1.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1721, allocations: 8.031 kB / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.1721, allocations: 34.73 kB / 0.5592 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.1722, allocations: 8.891 kB / 0.5592 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.1724, allocations: 200.1 kB / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1724, allocations: 4.375 kB / 0.5594 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1724, allocations: 4.359 kB / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1726, allocations: 63.34 kB / 0.5594 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1726, allocations: 8 kB / 0.5594 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1726, allocations: 0 / 0.5594 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1726, allocations: 3.984 kB / 0.5594 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.344e-05/0.1727, allocations: 23.98 kB / 0.5595 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.1732, allocations: 284.8 kB / 0.5597 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.1734, allocations: 46.56 kB / 0.5598 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.1735, allocations: 20.94 kB / 0.5598 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.1735, allocations: 4 kB / 0.5598 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1735, allocations: 30.56 kB / 0.5598 GB, free: 1.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1735, allocations: 0 / 0.5598 GB, free: 1.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006392/0.1742, allocations: 153.4 kB / 0.56 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.1742, allocations: 77.11 kB / 0.5601 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1744, allocations: 145.8 kB / 0.5602 GB, free: 0.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1744, allocations: 29.7 kB / 0.5602 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.1745, allocations: 88.14 kB / 0.5603 GB, free: 0.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.1745, allocations: 23.8 kB / 0.5603 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.1746, allocations: 25.64 kB / 0.5604 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1747, allocations: 318.8 kB / 0.5607 GB, free: 212 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.1748, allocations: 31.91 kB / 0.5607 GB, free: 180 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.982e-05/0.1749, allocations: 33.7 kB / 0.5607 GB, free: 140 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.175, allocations: 52.83 kB / 0.5608 GB, free: 84 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.175, allocations: 0 / 0.5608 GB, free: 84 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00022/0.1753, allocations: 85.84 kB / 0.5609 GB, free: 15.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1753, allocations: 14.06 kB / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1753, allocations: 0 / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1753, allocations: 0 / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.1754, allocations: 19.88 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1754, allocations: 4 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.1754, allocations: 3.938 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1754, allocations: 4 kB / 0.5609 GB, free: 15.95 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 (5): * Single equations (assignments): 5 * 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.0001047/0.1755, allocations: 120 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.1756, allocations: 7.953 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.1759, allocations: 93.97 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1759, allocations: 4 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1759, allocations: 3.938 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1759, allocations: 7.922 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.1764, allocations: 350.5 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1764, allocations: 0 / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.1764, allocations: 19.98 kB / 0.5615 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1764, allocations: 0 / 0.5615 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1764, allocations: 7.938 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1764, allocations: 0 / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1764, allocations: 0 / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.1767, allocations: 183.4 kB / 0.5617 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.1767, allocations: 85.05 kB / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.1768, allocations: 12.19 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.1768, allocations: 12 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.1769, allocations: 4.266 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1769, allocations: 0 / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.177, allocations: 111.3 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.177, allocations: 0 / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.1773, allocations: 43.8 kB / 0.5619 GB, free: 14.8 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 (5): * Single equations (assignments): 5 * 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.002215/0.1795, allocations: 1.119 MB / 0.563 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1797, allocations: 47.91 kB / 0.5631 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1797, allocations: 0 / 0.5631 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/0.1798, allocations: 27.97 kB / 0.5631 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.1801, allocations: 23.19 kB / 0.5631 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.182, allocations: 1.454 MB / 0.5645 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1823, allocations: 0.6885 MB / 0.5652 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.877e-05/0.1824, allocations: 27.98 kB / 0.5652 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.1825, allocations: 23.42 kB / 0.5652 GB, free: 11.46 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1825, allocations: 0 / 0.5652 GB, free: 11.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.2099, allocations: 3.264 MB / 0.5684 GB, free: 8.203 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/8.511, allocations: 20.12 kB / 0.5685 GB, free: 8.188 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test35_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.93406205700012]