Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.0009057/0.0009057, 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.001607/0.001607, 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.8865/0.8865, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2535/0.2535, allocations: 34.25 MB / 294.9 MB, free: 0.7188 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.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.174e-05, allocations: 2.281 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002077/0.002098, allocations: 1.62 MB / 443.8 MB, free: 0 / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1704/0.1725, allocations: 0.5224 MB / 444.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.1725, allocations: 6.844 kB / 444.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.1727, allocations: 75.64 kB / 444.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1729, allocations: 108.1 kB / 444.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.1731, allocations: 118.2 kB / 444.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.1733, allocations: 86.69 kB / 444.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.543e-05/0.1733, allocations: 13.06 kB / 444.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.1734, allocations: 46.55 kB / 444.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.1735, allocations: 54.09 kB / 444.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1735, allocations: 6.875 kB / 444.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.2e-05/0.1735, allocations: 42.28 kB / 444.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.1736, allocations: 24.98 kB / 444.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.1736, allocations: 17.2 kB / 444.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.1737, allocations: 104 kB / 445 MB, free: 42.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1737, allocations: 1.938 kB / 445 MB, free: 42.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1737, allocations: 3.938 kB / 445 MB, free: 42.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1737, allocations: 0 / 445 MB, free: 42.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002963/0.174, allocations: 335.9 kB / 445.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1741, allocations: 9.531 kB / 445.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.979e-05/0.1741, allocations: 37.47 kB / 445.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.1741, allocations: 15.5 kB / 445.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1742, allocations: 141.6 kB / 445.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.1742, allocations: 3.562 kB / 445.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.1742, allocations: 3.469 kB / 445.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.319e-05/0.1743, allocations: 60.38 kB / 445.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1744, allocations: 6.484 kB / 445.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1744, allocations: 6.938 kB / 445.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1744, allocations: 6.531 kB / 445.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.1744, allocations: 26.83 kB / 445.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.1746, allocations: 268.4 kB / 445.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.373e-05/0.1747, allocations: 46.64 kB / 446 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.1747, allocations: 17.09 kB / 446 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1748, allocations: 3.094 kB / 446 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.101e-05/0.1748, allocations: 34.31 kB / 446 MB, free: 41.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1748, allocations: 0 / 446 MB, free: 41.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005125/0.1753, allocations: 235.8 kB / 446.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.1753, allocations: 58.31 kB / 446.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1754, allocations: 217.3 kB / 446.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.1754, allocations: 29.8 kB / 446.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.1755, allocations: 110.7 kB / 446.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.1755, allocations: 22.25 kB / 446.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.1755, allocations: 24.81 kB / 446.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.863e-05/0.1755, allocations: 327.3 kB / 447 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.1756, allocations: 27.58 kB / 447.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.1756, allocations: 35.52 kB / 447.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.993e-05/0.1757, allocations: 72.66 kB / 447.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1757, allocations: 3.5 kB / 447.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001085/0.1758, allocations: 114.2 kB / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.1758, allocations: 5.25 kB / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1758, allocations: 0.7812 kB / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1758, allocations: 2.812 kB / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.1759, allocations: 20.3 kB / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.1759, allocations: 2.75 kB / 447.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.1759, allocations: 10.66 kB / 447.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1759, allocations: 2.562 kB / 447.3 MB, free: 41.11 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.409e-05/0.176, allocations: 135.4 kB / 447.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.176, allocations: 16.41 kB / 447.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.1761, allocations: 132.4 kB / 447.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1761, allocations: 2.656 kB / 447.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1761, allocations: 0 / 447.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1761, allocations: 0 / 447.6 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.1764, allocations: 379.5 kB / 448 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1764, allocations: 2.656 kB / 448 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.1764, allocations: 25.36 kB / 448 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1764, allocations: 0 / 448 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1764, allocations: 3.031 kB / 448 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1764, allocations: 3.938 kB / 448 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1764, allocations: 0 / 448 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.1766, allocations: 222.5 kB / 448.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.1766, allocations: 6.609 kB / 448.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1766, allocations: 6.656 kB / 448.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.1766, allocations: 21.45 kB / 448.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.1766, allocations: 7.188 kB / 448.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1766, allocations: 2.531 kB / 448.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.315e-05/0.1767, allocations: 163.8 kB / 448.4 MB, free: 40.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1767, allocations: 0 / 448.4 MB, free: 40.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.1769, allocations: 26.92 kB / 448.5 MB, free: 40.42 MB / 410.7 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.0008461/0.1777, allocations: 1.111 MB / 449.6 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1778, allocations: 79.67 kB / 449.6 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1778, allocations: 0 / 449.6 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.1779, allocations: 41.73 kB / 449.7 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.1781, allocations: 25.66 kB / 449.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1791, allocations: 1.73 MB / 451.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.477e-05/0.1792, allocations: 96.88 kB / 451.5 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.696e-05/0.1792, allocations: 23.7 kB / 451.6 MB, free: 38.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.1793, allocations: 37.19 kB / 451.6 MB, free: 38.34 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1793, allocations: 0 / 451.6 MB, free: 38.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.1962, allocations: 3.859 MB / 455.5 MB, free: 37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.233, allocations: 12.31 kB / 455.5 MB, free: 37 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_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_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.335024484433234]