Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0008692/0.0008692, 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.000875/0.000875, 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.888/0.888, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2343/0.2343, allocations: 32.8 MB / 293.5 MB, free: 1.211 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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.607e-05, allocations: 4.672 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.001939/0.001955, allocations: 1.595 MB / 441.2 MB, free: 2.609 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009616/0.002916, allocations: 0.5258 MB / 441.7 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.002973, allocations: 7.938 kB / 441.7 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.003163, allocations: 27.78 kB / 441.8 MB, free: 2.043 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.003411, allocations: 83.55 kB / 441.8 MB, free: 1.961 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.003645, allocations: 110.3 kB / 442 MB, free: 1.855 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.003766, allocations: 71.77 kB / 442 MB, free: 1.785 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.561e-05/0.003852, allocations: 8 kB / 442 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.199e-05/0.003904, allocations: 31.89 kB / 442.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.003949, allocations: 15.94 kB / 442.1 MB, free: 1.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.003964, allocations: 4 kB / 442.1 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.486e-05/0.004029, allocations: 31.92 kB / 442.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.004077, allocations: 19.91 kB / 442.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.004103, allocations: 15.94 kB / 442.1 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.004249, allocations: 87.66 kB / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004251, allocations: 0 / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004252, allocations: 0 / 442.2 MB, free: 1.574 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.004255, allocations: 0 / 442.2 MB, free: 1.574 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.0003547/0.00461, allocations: 321.7 kB / 442.5 MB, free: 1.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.004644, allocations: 8.031 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.764e-05/0.004672, allocations: 38.75 kB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.004695, allocations: 16.78 kB / 442.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.004828, allocations: 134.2 kB / 442.7 MB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.004837, allocations: 4.375 kB / 442.7 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.004853, allocations: 384 / 442.7 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.004954, allocations: 57.81 kB / 442.8 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.004963, allocations: 3.938 kB / 442.8 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.004971, allocations: 0 / 442.8 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.004975, allocations: 0 / 442.8 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.78e-05/0.005033, allocations: 27.97 kB / 442.8 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.005316, allocations: 244 kB / 443.1 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.005475, allocations: 46.48 kB / 443.1 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.005503, allocations: 16.86 kB / 443.1 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.005523, allocations: 4 kB / 443.1 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.00554, allocations: 38.64 kB / 443.2 MB, free: 0.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.005541, allocations: 0 / 443.2 MB, free: 0.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003856/0.005927, allocations: 153.4 kB / 443.3 MB, free: 352 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.005956, allocations: 55.41 kB / 443.4 MB, free: 284 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.006072, allocations: 173.6 kB / 443.5 MB, free: 100 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.006083, allocations: 25.7 kB / 443.6 MB, free: 68 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1842/0.1903, allocations: 107.5 kB / 443.7 MB, free: 46.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.1904, allocations: 12.48 kB / 443.7 MB, free: 46.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.1904, allocations: 20.38 kB / 443.7 MB, free: 46.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.236e-05/0.1904, allocations: 323 kB / 444 MB, free: 46.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.1905, allocations: 22.27 kB / 444 MB, free: 46.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.1905, allocations: 22.77 kB / 444.1 MB, free: 46.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.973e-05/0.1906, allocations: 52.34 kB / 444.1 MB, free: 46.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1906, allocations: 0 / 444.1 MB, free: 46.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001277/0.1907, allocations: 94.69 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1908, allocations: 5.812 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1908, allocations: 3.188 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1908, allocations: 2.297 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.1908, allocations: 15.36 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1908, allocations: 2.688 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.1909, allocations: 5.219 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1909, allocations: 6.828 kB / 444.3 MB, free: 45.98 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 4.627e-05/0.1909, allocations: 120.9 kB / 444.4 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.1909, allocations: 8.641 kB / 444.4 MB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.1911, allocations: 96.03 kB / 444.5 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1911, allocations: 5.422 kB / 444.5 MB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1911, allocations: 5.438 kB / 444.5 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1911, allocations: 2.719 kB / 444.5 MB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.1913, allocations: 318.6 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1913, allocations: 1.625 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.1914, allocations: 22.84 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1914, allocations: 3.938 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1914, allocations: 3.312 kB / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1914, allocations: 0 / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1914, allocations: 0 / 444.8 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.609e-05/0.1915, allocations: 189.9 kB / 445 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-06/0.1915, allocations: 10.77 kB / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1915, allocations: 3.625 kB / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.1915, allocations: 2.875 kB / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.1915, allocations: 7.922 kB / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1916, allocations: 3.25 kB / 445 MB, free: 45.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.1916, allocations: 134.2 kB / 445.2 MB, free: 45.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1916, allocations: 2.344 kB / 445.2 MB, free: 45.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000159/0.1918, allocations: 17.59 kB / 445.2 MB, free: 45.36 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.0007569/0.1925, allocations: 1.053 MB / 446.2 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.1926, allocations: 49.95 kB / 446.3 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1926, allocations: 4.312 kB / 446.3 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.593e-05/0.1927, allocations: 27.91 kB / 446.3 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.1929, allocations: 19.17 kB / 446.3 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.1938, allocations: 1.517 MB / 447.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.091e-05/0.1938, allocations: 92.83 kB / 448 MB, free: 43.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.875e-05/0.1939, allocations: 17.84 kB / 448 MB, free: 43.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.1939, allocations: 33.14 kB / 448 MB, free: 43.37 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1939, allocations: 0 / 448 MB, free: 43.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.2087, allocations: 3.39 MB / 451.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.804/7.013, allocations: 10.27 kB / 451.4 MB, free: 42.06 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_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_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.075504014268517]