Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001289/0.001289, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.001569/0.001569, allocations: 170.3 kB / 23.95 MB, free: 0.6016 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.936/0.936, 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.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.2385/0.2385, allocations: 32.79 MB / 293.5 MB, free: 1.242 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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.059e-05, allocations: 2.844 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002581/0.002601, allocations: 1.604 MB / 441.2 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008105/0.003412, allocations: 0.5568 MB / 441.8 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.00348, allocations: 7.938 kB / 441.8 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.003947, allocations: 447 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.004365, allocations: 299.2 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.004756, allocations: 179.5 kB / 442.7 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.004986, allocations: 175.6 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.005092, allocations: 11.97 kB / 442.9 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.0052, allocations: 119.8 kB / 443 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.005385, allocations: 239.6 kB / 443.2 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.005404, allocations: 4 kB / 443.2 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.596e-05/0.00548, allocations: 31.86 kB / 443.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.005566, allocations: 83.72 kB / 443.3 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.005609, allocations: 43.72 kB / 443.4 MB, free: 468 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.005847, allocations: 239.1 kB / 443.6 MB, free: 228 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.00585, allocations: 0 / 443.6 MB, free: 228 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.005852, allocations: 0 / 443.6 MB, free: 228 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.005859, allocations: 0 / 443.6 MB, free: 228 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.1803/0.1862, allocations: 0.5832 MB / 444.2 MB, free: 46.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1862, allocations: 9.25 kB / 444.2 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.1862, allocations: 32.19 kB / 444.2 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.1863, allocations: 45.91 kB / 444.3 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.1865, allocations: 250.1 kB / 444.5 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.1865, allocations: 2.406 kB / 444.5 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.1865, allocations: 4.594 kB / 444.5 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1866, allocations: 56.77 kB / 444.6 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1866, allocations: 0.75 kB / 444.6 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1866, allocations: 3.094 kB / 444.6 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1866, allocations: 7.781 kB / 444.6 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.312e-05/0.1867, allocations: 33.78 kB / 444.6 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.1871, allocations: 356.3 kB / 445 MB, free: 46.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.274e-05/0.1872, allocations: 50.94 kB / 445 MB, free: 45.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.1872, allocations: 21.47 kB / 445 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1872, allocations: 5.531 kB / 445 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.1873, allocations: 39.05 kB / 445.1 MB, free: 45.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.1873, allocations: 0 / 445.1 MB, free: 45.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002401/0.1875, allocations: 130.8 kB / 445.2 MB, free: 45.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.1875, allocations: 60.88 kB / 445.3 MB, free: 45.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/0.188, allocations: 0.8701 MB / 446.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.188, allocations: 25.7 kB / 446.2 MB, free: 45.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.1881, allocations: 222 kB / 446.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.1881, allocations: 6.625 kB / 446.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.1881, allocations: 15.61 kB / 446.4 MB, free: 45.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.1882, allocations: 363.2 kB / 446.8 MB, free: 45.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.1882, allocations: 18.91 kB / 446.8 MB, free: 45.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.1883, allocations: 19.42 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.104e-05/0.1883, allocations: 44.52 kB / 446.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1883, allocations: 0 / 446.8 MB, free: 45.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001174/0.1885, allocations: 124.4 kB / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.1885, allocations: 10.83 kB / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1885, allocations: 3.625 kB / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1885, allocations: 0 / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-05/0.1886, allocations: 9.484 kB / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1886, allocations: 0 / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.1886, allocations: 10.83 kB / 447 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1886, allocations: 0 / 447 MB, free: 44.94 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 (3): * Single equations (assignments): 3 * 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.0001095/0.1887, allocations: 216.8 kB / 447.2 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.1888, allocations: 45.62 kB / 447.2 MB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.1889, allocations: 135 kB / 447.4 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1889, allocations: 0 / 447.4 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1889, allocations: 0 / 447.4 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1889, allocations: 0 / 447.4 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1891, allocations: 263.3 kB / 447.6 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1891, allocations: 0 / 447.6 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.1891, allocations: 12.53 kB / 447.6 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1891, allocations: 0 / 447.6 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1891, allocations: 3.422 kB / 447.6 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1891, allocations: 0 / 447.6 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1891, allocations: 0 / 447.6 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.1893, allocations: 210 kB / 447.9 MB, free: 44.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.1893, allocations: 45.27 kB / 447.9 MB, free: 44.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.1893, allocations: 0 / 447.9 MB, free: 44.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.835e-05/0.1894, allocations: 8.688 kB / 447.9 MB, free: 44.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.1894, allocations: 7.719 kB / 447.9 MB, free: 44.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1894, allocations: 4.156 kB / 447.9 MB, free: 44.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003434/0.1897, allocations: 0.6524 MB / 448.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1897, allocations: 3.594 kB / 448.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.1899, allocations: 20.88 kB / 448.6 MB, free: 44.08 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 (3): * Single equations (assignments): 3 * 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.0008924/0.1908, allocations: 1.018 MB / 449.6 MB, free: 43.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.1909, allocations: 40.91 kB / 449.7 MB, free: 43.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1909, allocations: 3.938 kB / 449.7 MB, free: 43.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.191, allocations: 21.91 kB / 449.7 MB, free: 43.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1913, allocations: 27.25 kB / 449.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.1934, allocations: 3.226 MB / 452.9 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.1935, allocations: 221.2 kB / 453.1 MB, free: 41.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.404e-05/0.1936, allocations: 18.27 kB / 453.2 MB, free: 41.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.1937, allocations: 109.5 kB / 453.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1937, allocations: 4 kB / 453.3 MB, free: 41.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.2148, allocations: 6.499 MB / 459.8 MB, free: 39.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/7.182, allocations: 3.188 kB / 459.8 MB, free: 39.76 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_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_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.329160395078361]