Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.0008451/0.0008451, 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.0008413/0.0008413, 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.8857/0.8857, allocations: 177.2 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.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.2329/0.2329, allocations: 34.25 MB / 294.9 MB, free: 0.7227 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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.851e-05, allocations: 4.25 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003295/0.003324, allocations: 1.591 MB / 443.8 MB, free: 48 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1851/0.1884, allocations: 1.236 MB / 445 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.1884, allocations: 3.062 kB / 445 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.1887, allocations: 18.95 kB / 445 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.189, allocations: 90.77 kB / 445.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1892, allocations: 100.7 kB / 445.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1893, allocations: 68.33 kB / 445.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.1894, allocations: 6.375 kB / 445.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.561e-05/0.1895, allocations: 41.47 kB / 445.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.465e-05/0.1896, allocations: 22.97 kB / 445.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1896, allocations: 5.406 kB / 445.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1897, allocations: 89.12 kB / 445.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.1897, allocations: 15.2 kB / 445.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.1898, allocations: 12.5 kB / 445.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1899, allocations: 149.3 kB / 445.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.19, allocations: 1.656 kB / 445.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.19, allocations: 1.5 kB / 445.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.19, allocations: 0 / 445.6 MB, free: 43.13 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.0003757/0.1903, allocations: 327.5 kB / 446 MB, free: 42.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1904, allocations: 14.22 kB / 446 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.273e-05/0.1904, allocations: 30.75 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.1904, allocations: 7.891 kB / 446 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1906, allocations: 134.9 kB / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-06/0.1906, allocations: 384 / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1906, allocations: 7.25 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1907, allocations: 91.55 kB / 446.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1907, allocations: 192 / 446.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1907, allocations: 6.844 kB / 446.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1907, allocations: 1.25 kB / 446.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.1908, allocations: 26.38 kB / 446.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.1911, allocations: 246.5 kB / 446.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1912, allocations: 43.59 kB / 446.6 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.1912, allocations: 20.92 kB / 446.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1913, allocations: 6.406 kB / 446.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.1913, allocations: 33.47 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1913, allocations: 0 / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003706/0.1916, allocations: 145.1 kB / 446.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.1917, allocations: 84.05 kB / 446.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.979e-05/0.1918, allocations: 145.4 kB / 447 MB, free: 41.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.1918, allocations: 25.7 kB / 447 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.1918, allocations: 94.56 kB / 447.1 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1918, allocations: 18.64 kB / 447.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.1918, allocations: 19.5 kB / 447.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.799e-05/0.1919, allocations: 322.2 kB / 447.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.1919, allocations: 18.27 kB / 447.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.1919, allocations: 59.45 kB / 447.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.454e-05/0.192, allocations: 47.45 kB / 447.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.192, allocations: 0 / 447.6 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.573e-05/0.1921, allocations: 87.23 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1921, allocations: 3 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1921, allocations: 3 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1921, allocations: 0 / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.942e-05/0.1922, allocations: 13.14 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1922, allocations: 4 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.1922, allocations: 6.078 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1922, allocations: 2.938 kB / 447.7 MB, free: 41.34 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.19e-05/0.1923, allocations: 118.3 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.1923, allocations: 12.08 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.1924, allocations: 93.91 kB / 447.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1924, allocations: 3.938 kB / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1924, allocations: 3.188 kB / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1924, allocations: 0 / 447.9 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.1926, allocations: 314 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1926, allocations: 0 / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.1927, allocations: 14.22 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1927, allocations: 0 / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1927, allocations: 0 / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1927, allocations: 0 / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1927, allocations: 7.078 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.735e-05/0.1928, allocations: 184.9 kB / 448.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.1928, allocations: 3.953 kB / 448.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1928, allocations: 6.875 kB / 448.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.829e-05/0.1928, allocations: 4.781 kB / 448.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.1929, allocations: 9.422 kB / 448.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1929, allocations: 0 / 448.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.558e-05/0.1929, allocations: 115.3 kB / 448.6 MB, free: 40.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1929, allocations: 0 / 448.6 MB, free: 40.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001969/0.1931, allocations: 39.3 kB / 448.6 MB, free: 40.6 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.000936/0.194, allocations: 1.155 MB / 449.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.1942, allocations: 45.52 kB / 449.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1942, allocations: 0 / 449.8 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.1942, allocations: 26.25 kB / 449.8 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.1945, allocations: 21.98 kB / 449.8 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.1955, allocations: 1.428 MB / 451.3 MB, free: 38.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.552e-05/0.1956, allocations: 76 kB / 451.3 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.487e-05/0.1956, allocations: 11.77 kB / 451.4 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.1957, allocations: 28.28 kB / 451.4 MB, free: 38.45 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1957, allocations: 0 / 451.4 MB, free: 38.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.2177, allocations: 4.003 MB / 455.4 MB, free: 36.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.736/6.954, allocations: 4 kB / 455.4 MB, free: 36.99 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.888052005320787]