Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008837/0.0008837, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8678/0.8678, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.239/0.239, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.087e-05, allocations: 2.281 kB / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.1883/0.1884, allocations: 1.896 MB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009318/0.1893, allocations: 1.011 MB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.1894, allocations: 3.625 kB / 445.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.1896, allocations: 39.84 kB / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.1898, allocations: 104.7 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.19, allocations: 100.8 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1901, allocations: 149.4 kB / 445.5 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.1902, allocations: 21.17 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.1903, allocations: 80.36 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/0.1904, allocations: 39.14 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1904, allocations: 5.906 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-05/0.1905, allocations: 45.48 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.1905, allocations: 32.11 kB / 445.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.1905, allocations: 34.61 kB / 445.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1907, allocations: 160.8 kB / 445.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1907, allocations: 0 / 445.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1907, allocations: 0 / 445.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1907, allocations: 0 / 445.9 MB, free: 42.77 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004218/0.1911, allocations: 412.4 kB / 446.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1912, allocations: 10.78 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.237e-05/0.1912, allocations: 41.16 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.1912, allocations: 16.5 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.1914, allocations: 170.6 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1914, allocations: 6.094 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.1915, allocations: 9.188 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1916, allocations: 138.6 kB / 446.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1916, allocations: 192 / 446.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1916, allocations: 9.844 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1916, allocations: 0 / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.1917, allocations: 55.97 kB / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.192, allocations: 478.6 kB / 447.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.1922, allocations: 86.45 kB / 447.3 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.1923, allocations: 38.73 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1923, allocations: 3.938 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.1924, allocations: 112.3 kB / 447.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.1924, allocations: 0 / 447.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002259/0.1926, allocations: 151.4 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.1926, allocations: 51.41 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1927, allocations: 201 kB / 447.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.1928, allocations: 32.48 kB / 447.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.1928, allocations: 116.7 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.1928, allocations: 32.41 kB / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.1928, allocations: 29.64 kB / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.474e-05/0.1929, allocations: 331.8 kB / 448.4 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.1929, allocations: 31.27 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.73e-05/0.193, allocations: 61.47 kB / 448.5 MB, free: 40.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.463e-05/0.1931, allocations: 105.2 kB / 448.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1931, allocations: 5.312 kB / 448.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00013/0.1932, allocations: 143.4 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.1932, allocations: 5.25 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1932, allocations: 6.562 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1932, allocations: 2.531 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.075e-05/0.1933, allocations: 19.78 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1933, allocations: 2.594 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.1933, allocations: 12.42 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1933, allocations: 13.66 kB / 448.8 MB, free: 40.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.946e-05/0.1934, allocations: 131.1 kB / 449 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.1934, allocations: 13.59 kB / 449 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.1935, allocations: 138.4 kB / 449.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1935, allocations: 2.75 kB / 449.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1935, allocations: 0 / 449.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1935, allocations: 0 / 449.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.769e-05/0.1936, allocations: 185.2 kB / 449.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.1936, allocations: 0 / 449.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.1936, allocations: 14.2 kB / 449.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1936, allocations: 0 / 449.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1937, allocations: 2.812 kB / 449.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1937, allocations: 0 / 449.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1937, allocations: 0 / 449.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.1938, allocations: 210.3 kB / 449.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.1939, allocations: 10.75 kB / 449.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.1939, allocations: 9.5 kB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.619e-05/0.1939, allocations: 6.094 kB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.1939, allocations: 9.688 kB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1939, allocations: 10.17 kB / 449.6 MB, free: 40.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.194, allocations: 142.1 kB / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.194, allocations: 0 / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.1941, allocations: 35.39 kB / 449.7 MB, free: 39.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007959/0.1949, allocations: 1.047 MB / 450.8 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.1951, allocations: 82.75 kB / 450.9 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1951, allocations: 0 / 450.9 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.822e-05/0.1951, allocations: 35.36 kB / 450.9 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.1953, allocations: 42.12 kB / 450.9 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.1963, allocations: 1.779 MB / 452.7 MB, free: 37.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.1963, allocations: 104.9 kB / 452.8 MB, free: 37.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.114e-05/0.1963, allocations: 15.09 kB / 452.8 MB, free: 37.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.1964, allocations: 39.92 kB / 452.9 MB, free: 37.72 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1964, allocations: 0 / 452.9 MB, free: 37.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.2114, allocations: 4.697 MB / 457.6 MB, free: 36.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.874/7.085, allocations: 6.578 kB / 457.6 MB, free: 36.28 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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: 9.135741390287876]