Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.0007914/0.0007914, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.000804/0.000804, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8908/0.8908, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2527/0.2527, allocations: 34.26 MB / 294.9 MB, free: 0.7031 MB / 266.7 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.822e-05, allocations: 3.688 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.001994/0.002013, allocations: 1.599 MB / 443.8 MB, free: 40 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1694/0.1714, allocations: 0.5438 MB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.1715, allocations: 3.938 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1717, allocations: 26.61 kB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.1719, allocations: 79.56 kB / 444.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.1721, allocations: 112 kB / 444.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1722, allocations: 81.89 kB / 444.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.1723, allocations: 11.38 kB / 444.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/0.1724, allocations: 34.41 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.1724, allocations: 21.83 kB / 444.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1725, allocations: 5.75 kB / 444.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1726, allocations: 96.72 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.1726, allocations: 22.94 kB / 444.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.1726, allocations: 18.41 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1728, allocations: 146.2 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1728, allocations: 0 / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1728, allocations: 0 / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1728, allocations: 0 / 445 MB, free: 43.08 MB / 410.7 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.0003449/0.1732, allocations: 336.3 kB / 445.3 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1732, allocations: 8.125 kB / 445.3 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.201e-05/0.1732, allocations: 39.66 kB / 445.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.1733, allocations: 7.578 kB / 445.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1734, allocations: 140.1 kB / 445.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.1734, allocations: 6.906 kB / 445.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1734, allocations: 384 / 445.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.1735, allocations: 89.69 kB / 445.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1735, allocations: 2.875 kB / 445.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1735, allocations: 10.16 kB / 445.6 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1735, allocations: 0 / 445.6 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.184e-05/0.1736, allocations: 25.41 kB / 445.6 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.1739, allocations: 261.1 kB / 445.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.232e-05/0.174, allocations: 54.22 kB / 445.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.174, allocations: 20.03 kB / 446 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.174, allocations: 2.562 kB / 446 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.174, allocations: 30.56 kB / 446 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.174, allocations: 0 / 446 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004127/0.1744, allocations: 182 kB / 446.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.1745, allocations: 79.95 kB / 446.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.1745, allocations: 149.2 kB / 446.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.1746, allocations: 25.7 kB / 446.4 MB, free: 41.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.1746, allocations: 102 kB / 446.5 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.1746, allocations: 25.05 kB / 446.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.1746, allocations: 18.88 kB / 446.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.686e-05/0.1746, allocations: 325.7 kB / 446.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/0.1747, allocations: 34.84 kB / 446.9 MB, free: 41.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.937e-05/0.1747, allocations: 72.64 kB / 447 MB, free: 41.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.277e-05/0.1748, allocations: 68.19 kB / 447.1 MB, free: 41.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1748, allocations: 0 / 447.1 MB, free: 41.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000116/0.1749, allocations: 103.7 kB / 447.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.175, allocations: 12.98 kB / 447.2 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.175, allocations: 4.031 kB / 447.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.175, allocations: 0 / 447.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.175, allocations: 24.23 kB / 447.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.175, allocations: 0 / 447.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.1751, allocations: 6.5 kB / 447.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1751, allocations: 6.203 kB / 447.2 MB, free: 41.4 MB / 410.7 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 4.148e-05/0.1751, allocations: 119.4 kB / 447.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.1751, allocations: 6.922 kB / 447.3 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.1753, allocations: 117.7 kB / 447.4 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1753, allocations: 0 / 447.4 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1753, allocations: 0 / 447.4 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1753, allocations: 0 / 447.4 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.1756, allocations: 368.4 kB / 447.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1756, allocations: 0 / 447.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.1756, allocations: 20.59 kB / 447.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1756, allocations: 0 / 447.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1756, allocations: 2.25 kB / 447.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1756, allocations: 5.312 kB / 447.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1756, allocations: 6.594 kB / 447.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1757, allocations: 195.3 kB / 448 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.1757, allocations: 6.797 kB / 448 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1757, allocations: 0 / 448 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.1758, allocations: 8.922 kB / 448 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.1758, allocations: 10.16 kB / 448.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.1758, allocations: 2.938 kB / 448.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.1759, allocations: 113.8 kB / 448.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1759, allocations: 4 kB / 448.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.1761, allocations: 48.86 kB / 448.2 MB, free: 40.73 MB / 410.7 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.0009744/0.177, allocations: 1.162 MB / 449.4 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1772, allocations: 68.17 kB / 449.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1772, allocations: 0 / 449.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.188e-05/0.1772, allocations: 36.19 kB / 449.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.1775, allocations: 25.23 kB / 449.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009384/0.1784, allocations: 1.543 MB / 451.1 MB, free: 38.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.409e-05/0.1785, allocations: 84.16 kB / 451.1 MB, free: 38.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.437e-05/0.1785, allocations: 22.59 kB / 451.2 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.1786, allocations: 28.39 kB / 451.2 MB, free: 38.63 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1786, allocations: 0 / 451.2 MB, free: 38.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.1962, allocations: 4.271 MB / 455.5 MB, free: 37.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.998/7.194, allocations: 25.59 kB / 455.5 MB, free: 37.13 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.279271663166583]