Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0008747/0.0008747, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008936/0.0008936, 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.9028/0.9028, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2584/0.2584, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.483e-05, allocations: 2.281 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00228/0.002295, allocations: 1.594 MB / 443.8 MB, free: 64 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1706/0.1729, allocations: 0.5275 MB / 444.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.173, allocations: 2.969 kB / 444.3 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.1732, allocations: 25.91 kB / 444.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.1734, allocations: 75.56 kB / 444.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1737, allocations: 117.6 kB / 444.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.1738, allocations: 74.48 kB / 444.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1739, allocations: 5.906 kB / 444.6 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.402e-05/0.174, allocations: 31.59 kB / 444.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.174, allocations: 18.8 kB / 444.6 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.174, allocations: 5.688 kB / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.473e-05/0.1741, allocations: 29.42 kB / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.1741, allocations: 10.44 kB / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.1742, allocations: 18.02 kB / 444.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.1743, allocations: 76.77 kB / 444.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1743, allocations: 4.25 kB / 444.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1743, allocations: 0 / 444.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1743, allocations: 0 / 444.8 MB, free: 43.07 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.0003499/0.1747, allocations: 315.7 kB / 445.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1747, allocations: 8.688 kB / 445.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.313e-05/0.1747, allocations: 34.5 kB / 445.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.1748, allocations: 11.81 kB / 445.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1749, allocations: 132.7 kB / 445.3 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.1749, allocations: 1.812 kB / 445.3 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.1749, allocations: 2.969 kB / 445.3 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.727e-05/0.175, allocations: 53.55 kB / 445.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.175, allocations: 2.781 kB / 445.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.175, allocations: 3.938 kB / 445.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.175, allocations: 2.312 kB / 445.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.216e-05/0.1751, allocations: 28.72 kB / 445.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.1753, allocations: 249.8 kB / 445.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.1754, allocations: 50.75 kB / 445.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.1755, allocations: 21.53 kB / 445.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1755, allocations: 3.312 kB / 445.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.879e-06/0.1755, allocations: 35.66 kB / 445.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1755, allocations: 0 / 445.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003476/0.1758, allocations: 153 kB / 445.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.1759, allocations: 58.31 kB / 445.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.1759, allocations: 151.1 kB / 446.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.176, allocations: 25.7 kB / 446.1 MB, free: 42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.176, allocations: 93.88 kB / 446.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.176, allocations: 28.48 kB / 446.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.176, allocations: 18.97 kB / 446.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.122e-05/0.176, allocations: 329.1 kB / 446.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.1761, allocations: 18.56 kB / 446.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.1761, allocations: 22.36 kB / 446.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.259e-05/0.1762, allocations: 50.02 kB / 446.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1762, allocations: 0 / 446.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.82e-05/0.1763, allocations: 89.11 kB / 446.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.1763, allocations: 5.906 kB / 446.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1763, allocations: 4 kB / 446.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1763, allocations: 0 / 446.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.623e-05/0.1763, allocations: 17.17 kB / 446.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1763, allocations: 2.75 kB / 446.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.1763, allocations: 2.844 kB / 446.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1764, allocations: 0 / 446.8 MB, free: 41.52 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 (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 3.951e-05/0.1764, allocations: 130.6 kB / 446.9 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.1764, allocations: 6.828 kB / 446.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.1765, allocations: 100.8 kB / 447 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1765, allocations: 0 / 447 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1765, allocations: 3.938 kB / 447 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1765, allocations: 3.188 kB / 447 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.1767, allocations: 318.4 kB / 447.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1767, allocations: 0 / 447.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.1768, allocations: 11.62 kB / 447.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1768, allocations: 0 / 447.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.1768, allocations: 2.531 kB / 447.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1768, allocations: 7.234 kB / 447.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1768, allocations: 0 / 447.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.993e-05/0.1769, allocations: 188.6 kB / 447.5 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.1769, allocations: 6.578 kB / 447.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.1769, allocations: 0 / 447.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.208e-05/0.1769, allocations: 8.297 kB / 447.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.1769, allocations: 3.141 kB / 447.5 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1769, allocations: 6.688 kB / 447.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.745e-05/0.177, allocations: 115.2 kB / 447.7 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.177, allocations: 4 kB / 447.7 MB, free: 40.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001498/0.1771, allocations: 15.53 kB / 447.7 MB, free: 40.86 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 (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.0007337/0.1779, allocations: 1.049 MB / 448.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.178, allocations: 47.16 kB / 448.8 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.178, allocations: 0 / 448.8 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.178, allocations: 33.47 kB / 448.8 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.1782, allocations: 22.09 kB / 448.8 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007516/0.179, allocations: 1.461 MB / 450.3 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.906e-05/0.179, allocations: 75.59 kB / 450.4 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.675e-05/0.1791, allocations: 23.28 kB / 450.4 MB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.1791, allocations: 22.72 kB / 450.4 MB, free: 38.87 MB / 410.7 MB Notification: Performance of SimCode: time 5e-07/0.1791, allocations: 0 / 450.4 MB, free: 38.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.1931, allocations: 3.288 MB / 453.7 MB, free: 37.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/7.093, allocations: 7.797 kB / 453.7 MB, free: 37.56 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.201072350144386]