Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.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.0008733/0.0008733, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001287/0.001287, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.894/0.894, 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.2542/0.2542, allocations: 34.24 MB / 294.8 MB, free: 0.6914 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.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 442.1 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.961e-05, allocations: 2.281 kB / 442.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.1794/0.1795, allocations: 2.926 MB / 445 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1811, allocations: 1.007 MB / 446 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.1813, allocations: 13.84 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.1814, allocations: 67.2 kB / 446.1 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1816, allocations: 136.3 kB / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.1821, allocations: 181.7 kB / 446.4 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.1825, allocations: 481.4 kB / 446.9 MB, free: 42.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.1827, allocations: 83.02 kB / 447 MB, free: 42.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.1829, allocations: 255.8 kB / 447.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1831, allocations: 138 kB / 447.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.1831, allocations: 30.22 kB / 447.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1832, allocations: 52.31 kB / 447.5 MB, free: 41.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.1833, allocations: 82.66 kB / 447.5 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.1834, allocations: 135.8 kB / 447.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.1837, allocations: 463.3 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1837, allocations: 3.938 kB / 448.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1837, allocations: 0 / 448.1 MB, free: 41.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1837, allocations: 0 / 448.1 MB, free: 41.63 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0008244/0.1845, allocations: 0.6164 MB / 448.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1846, allocations: 8.75 kB / 448.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.185e-05/0.1846, allocations: 75.98 kB / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.1848, allocations: 67.47 kB / 448.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1852, allocations: 242.2 kB / 449.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.1852, allocations: 28.12 kB / 449.2 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.1852, allocations: 45.88 kB / 449.2 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.1856, allocations: 359.4 kB / 449.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.1856, allocations: 14.77 kB / 449.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1856, allocations: 17.72 kB / 449.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1856, allocations: 8.594 kB / 449.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.1859, allocations: 243.4 kB / 449.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.1871, allocations: 1.405 MB / 451.2 MB, free: 39.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.1875, allocations: 393.8 kB / 451.6 MB, free: 39.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1876, allocations: 132.7 kB / 451.7 MB, free: 39.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.1876, allocations: 5.375 kB / 451.8 MB, free: 39.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.1876, allocations: 42.78 kB / 451.8 MB, free: 39.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.1876, allocations: 0 / 451.8 MB, free: 39.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.001612/0.1893, allocations: 1.552 MB / 453.3 MB, free: 37.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.1893, allocations: 192.5 kB / 453.5 MB, free: 37.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.1894, allocations: 262.9 kB / 453.8 MB, free: 37.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1895, allocations: 32.61 kB / 453.8 MB, free: 37.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.1895, allocations: 207.1 kB / 454 MB, free: 37.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.1896, allocations: 182.8 kB / 454.2 MB, free: 37.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.1897, allocations: 99.38 kB / 454.3 MB, free: 37.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.1897, allocations: 349.1 kB / 454.6 MB, free: 36.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1899, allocations: 120.1 kB / 454.8 MB, free: 36.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.19, allocations: 298 kB / 455 MB, free: 36.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.1904, allocations: 450.8 kB / 455.5 MB, free: 36.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1904, allocations: 2.906 kB / 455.5 MB, free: 36.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004521/0.1908, allocations: 0.4911 MB / 456 MB, free: 36.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1909, allocations: 8.656 kB / 456 MB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1909, allocations: 8.625 kB / 456 MB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1909, allocations: 8.938 kB / 456 MB, free: 36.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.1911, allocations: 144.1 kB / 456.1 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1911, allocations: 8.562 kB / 456.2 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.1913, allocations: 16.53 kB / 456.2 MB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.1913, allocations: 32.34 kB / 456.2 MB, free: 35.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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 9.902e-05/0.1914, allocations: 176.5 kB / 456.4 MB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.1914, allocations: 39.86 kB / 456.4 MB, free: 35.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.1916, allocations: 124.4 kB / 456.5 MB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1916, allocations: 9.078 kB / 456.5 MB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1916, allocations: 2.906 kB / 456.5 MB, free: 35.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1916, allocations: 8.719 kB / 456.6 MB, free: 35.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009952/0.1926, allocations: 1.183 MB / 457.7 MB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1926, allocations: 5.281 kB / 457.7 MB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.1929, allocations: 116.3 kB / 457.9 MB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1929, allocations: 5.688 kB / 457.9 MB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1929, allocations: 19.8 kB / 457.9 MB, free: 34.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.1929, allocations: 9.719 kB / 457.9 MB, free: 34.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1929, allocations: 3.219 kB / 457.9 MB, free: 34.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.1934, allocations: 1.002 MB / 458.9 MB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.1935, allocations: 39.83 kB / 458.9 MB, free: 34.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.1935, allocations: 14.47 kB / 459 MB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.1937, allocations: 10.38 kB / 459 MB, free: 34.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.1938, allocations: 43.88 kB / 459 MB, free: 34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1938, allocations: 26.25 kB / 459 MB, free: 33.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.674e-05/0.1939, allocations: 173.3 kB / 459.2 MB, free: 33.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1939, allocations: 0 / 459.2 MB, free: 33.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004193/0.1943, allocations: 101.7 kB / 459.3 MB, free: 33.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (49): * Single equations (assignments): 49 * 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.0007157/0.195, allocations: 1.553 MB / 460.9 MB, free: 32.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.1954, allocations: 344.7 kB / 461.2 MB, free: 32.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1954, allocations: 0 / 461.2 MB, free: 32.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.1956, allocations: 161.4 kB / 461.3 MB, free: 32.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.1962, allocations: 89.98 kB / 461.4 MB, free: 32.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.1994, allocations: 4.38 MB / 465.8 MB, free: 29.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.1996, allocations: 209.5 kB / 466 MB, free: 29.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.1997, allocations: 45.62 kB / 466.1 MB, free: 29.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1998, allocations: 138.5 kB / 466.2 MB, free: 28.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.1998, allocations: 0 / 466.2 MB, free: 28.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.2244, allocations: 8.634 MB / 474.8 MB, free: 27.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.4, allocations: 10.88 kB / 474.8 MB, free: 27.32 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000399521 ModelicaTest_trunk_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass3.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass3.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass5.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass5.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass5.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass5.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass6.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass6.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass6.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass6.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.545280689373612]