Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0008884/0.0008884, 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.00149/0.00149, 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.8996/0.8996, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2319/0.2319, allocations: 32.78 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.622e-05, allocations: 8.328 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001968/0.001984, allocations: 1.646 MB / 441.2 MB, free: 2.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007067/0.002691, allocations: 0.5646 MB / 441.8 MB, free: 2.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.002753, allocations: 0 / 441.8 MB, free: 2.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.003221, allocations: 455.1 kB / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.003598, allocations: 295.2 kB / 442.5 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.00398, allocations: 188 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.004207, allocations: 171.6 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.00431, allocations: 19.97 kB / 442.9 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.004442, allocations: 115.7 kB / 443 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.004694, allocations: 243.6 kB / 443.3 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.004714, allocations: 4 kB / 443.3 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.725e-05/0.004812, allocations: 39.92 kB / 443.3 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.004915, allocations: 83.7 kB / 443.4 MB, free: 452 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.004957, allocations: 43.73 kB / 443.4 MB, free: 408 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.005196, allocations: 247.1 kB / 443.7 MB, free: 160 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.005198, allocations: 3.938 kB / 443.7 MB, free: 156 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005199, allocations: 0 / 443.7 MB, free: 156 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.005204, allocations: 3.938 kB / 443.7 MB, free: 152 kB / 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.1704/0.1756, allocations: 0.576 MB / 444.3 MB, free: 46.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1757, allocations: 8.125 kB / 444.3 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.653e-05/0.1757, allocations: 35.94 kB / 444.3 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.1758, allocations: 48.11 kB / 444.4 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.1759, allocations: 247 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1759, allocations: 3.688 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1759, allocations: 4.844 kB / 444.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1761, allocations: 54.58 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1761, allocations: 0.75 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1761, allocations: 0.625 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1761, allocations: 11.08 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/0.1762, allocations: 27.45 kB / 444.7 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.1765, allocations: 365.3 kB / 445 MB, free: 46.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1767, allocations: 51.75 kB / 445.1 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.1767, allocations: 17.56 kB / 445.1 MB, free: 45.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1767, allocations: 0 / 445.1 MB, free: 45.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.1767, allocations: 35.03 kB / 445.2 MB, free: 45.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1767, allocations: 1.531 kB / 445.2 MB, free: 45.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004041/0.1771, allocations: 249.9 kB / 445.4 MB, free: 45.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.1772, allocations: 54.22 kB / 445.4 MB, free: 45.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.1776, allocations: 0.8748 MB / 446.3 MB, free: 45.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.1776, allocations: 25.7 kB / 446.3 MB, free: 45.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.1777, allocations: 228.2 kB / 446.6 MB, free: 45.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.1777, allocations: 18.64 kB / 446.6 MB, free: 45.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.1777, allocations: 19.81 kB / 446.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.1778, allocations: 364.4 kB / 447 MB, free: 44.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.1778, allocations: 18.45 kB / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.1778, allocations: 24.38 kB / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.821e-05/0.1779, allocations: 61.97 kB / 447.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1779, allocations: 2.875 kB / 447.1 MB, free: 44.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001188/0.178, allocations: 128.9 kB / 447.2 MB, free: 44.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.178, allocations: 5.312 kB / 447.2 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.178, allocations: 0 / 447.2 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.178, allocations: 0 / 447.2 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.17e-05/0.1781, allocations: 14.62 kB / 447.2 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1781, allocations: 0 / 447.2 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.1781, allocations: 12.09 kB / 447.2 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1781, allocations: 2.719 kB / 447.2 MB, free: 44.85 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 0.0001014/0.1782, allocations: 215.1 kB / 447.4 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1783, allocations: 45.69 kB / 447.5 MB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.1784, allocations: 146.3 kB / 447.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1784, allocations: 3.312 kB / 447.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1784, allocations: 0 / 447.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1784, allocations: 2.594 kB / 447.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.1787, allocations: 441.4 kB / 448.1 MB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1787, allocations: 4.375 kB / 448.1 MB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.877e-05/0.1787, allocations: 8.625 kB / 448.1 MB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1787, allocations: 0 / 448.1 MB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1787, allocations: 5.953 kB / 448.1 MB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1787, allocations: 7.641 kB / 448.1 MB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1788, allocations: 1.281 kB / 448.1 MB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.1789, allocations: 220.2 kB / 448.3 MB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.1789, allocations: 46.48 kB / 448.4 MB, free: 44.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.1789, allocations: 0 / 448.4 MB, free: 44.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.1789, allocations: 12.41 kB / 448.4 MB, free: 44.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.179, allocations: 5.219 kB / 448.4 MB, free: 44.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.179, allocations: 2.906 kB / 448.4 MB, free: 44.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003048/0.1793, allocations: 0.6647 MB / 449 MB, free: 43.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1793, allocations: 0 / 449 MB, free: 43.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.1795, allocations: 20.88 kB / 449.1 MB, free: 43.84 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.0007958/0.1802, allocations: 1.089 MB / 450.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.1804, allocations: 49.03 kB / 450.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1804, allocations: 0 / 450.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.1804, allocations: 35.22 kB / 450.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.1807, allocations: 29.89 kB / 450.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1826, allocations: 3.282 MB / 453.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.1827, allocations: 219.1 kB / 453.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.315e-05/0.1828, allocations: 18.5 kB / 453.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.1829, allocations: 119.3 kB / 453.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1829, allocations: 0 / 453.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.2, allocations: 6.798 MB / 460.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/7.124, allocations: 7.188 kB / 460.7 MB, free: 39.41 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.200640614144504]