Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.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.001439/0.001439, 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.001468/0.001468, allocations: 170 kB / 23.95 MB, free: 0.6055 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.9348/0.9348, allocations: 177.1 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.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.2344/0.2344, allocations: 32.8 MB / 293.5 MB, free: 1.203 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.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 439.5 MB, free: 4.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.534e-05, allocations: 6.281 kB / 439.6 MB, free: 4.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002895/0.00291, allocations: 2.691 MB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.004506, allocations: 0.9542 MB / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.004656, allocations: 11.88 kB / 443.2 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.004797, allocations: 55.44 kB / 443.3 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.004951, allocations: 119 kB / 443.4 MB, free: 452 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.005346, allocations: 159.4 kB / 443.5 MB, free: 292 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1739/0.1793, allocations: 391 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.1795, allocations: 59.67 kB / 444 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.1798, allocations: 219.1 kB / 444.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1799, allocations: 115.5 kB / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.1799, allocations: 24.94 kB / 444.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.18, allocations: 50.47 kB / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.1801, allocations: 72.8 kB / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.1801, allocations: 111.3 kB / 444.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.1804, allocations: 386.8 kB / 444.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1804, allocations: 0.6875 kB / 444.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1804, allocations: 2.75 kB / 444.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1804, allocations: 0.5625 kB / 444.9 MB, free: 43.21 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0005771/0.181, allocations: 0.5579 MB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.181, allocations: 8.094 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.1811, allocations: 65.08 kB / 445.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.1813, allocations: 63.73 kB / 445.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1815, allocations: 218.4 kB / 445.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.1816, allocations: 24.84 kB / 445.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.1816, allocations: 36.8 kB / 445.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.1819, allocations: 303.3 kB / 446.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1819, allocations: 6.734 kB / 446.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1819, allocations: 19.72 kB / 446.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1819, allocations: 7.781 kB / 446.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.1821, allocations: 198.1 kB / 446.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/0.1831, allocations: 1.192 MB / 447.6 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.1834, allocations: 322.8 kB / 447.9 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.1835, allocations: 105.3 kB / 448 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1835, allocations: 6.219 kB / 448 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.1835, allocations: 41.73 kB / 448.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 1.834e-06/0.1835, allocations: 1.281 kB / 448.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.001336/0.1849, allocations: 1.234 MB / 449.3 MB, free: 40.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.1849, allocations: 163.3 kB / 449.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.185, allocations: 237.6 kB / 449.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1851, allocations: 32.67 kB / 449.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.1851, allocations: 185.5 kB / 449.9 MB, free: 40.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.1852, allocations: 153.7 kB / 450.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.1852, allocations: 83.02 kB / 450.2 MB, free: 40.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.384e-05/0.1853, allocations: 345.3 kB / 450.5 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.946e-05/0.1854, allocations: 91.09 kB / 450.6 MB, free: 39.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1855, allocations: 246.9 kB / 450.8 MB, free: 39.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.1858, allocations: 369 kB / 451.2 MB, free: 39.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1858, allocations: 3.938 kB / 451.2 MB, free: 39.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003404/0.1861, allocations: 425.1 kB / 451.6 MB, free: 39.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1861, allocations: 8.484 kB / 451.6 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1861, allocations: 5.531 kB / 451.6 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.1862, allocations: 11.69 kB / 451.6 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.1864, allocations: 114.5 kB / 451.7 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1864, allocations: 16.31 kB / 451.8 MB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.751e-05/0.1865, allocations: 21.8 kB / 451.8 MB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1865, allocations: 21.47 kB / 451.8 MB, free: 39.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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 7.925e-05/0.1866, allocations: 161.9 kB / 452 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.1866, allocations: 30.38 kB / 452 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.1868, allocations: 119.4 kB / 452.1 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1868, allocations: 6.781 kB / 452.1 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1868, allocations: 2.781 kB / 452.1 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1868, allocations: 3.234 kB / 452.1 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007745/0.1875, allocations: 0.9681 MB / 453.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.1876, allocations: 2.875 kB / 453.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.1878, allocations: 100.4 kB / 453.2 MB, free: 38.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1878, allocations: 5.688 kB / 453.2 MB, free: 38.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1878, allocations: 13.78 kB / 453.2 MB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1878, allocations: 7.531 kB / 453.2 MB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1878, allocations: 11.59 kB / 453.2 MB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.1882, allocations: 0.8203 MB / 454 MB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.1882, allocations: 33.88 kB / 454.1 MB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.1883, allocations: 20.8 kB / 454.1 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1884, allocations: 7.266 kB / 454.1 MB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.1885, allocations: 43.78 kB / 454.1 MB, free: 37.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1885, allocations: 13.47 kB / 454.2 MB, free: 37.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.1885, allocations: 166 kB / 454.3 MB, free: 37.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1885, allocations: 0 / 454.3 MB, free: 37.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000327/0.1889, allocations: 84.5 kB / 454.4 MB, free: 37.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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.0005526/0.1894, allocations: 1.367 MB / 455.8 MB, free: 36.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.1898, allocations: 278.8 kB / 456 MB, free: 36.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1898, allocations: 64 / 456 MB, free: 36.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1899, allocations: 134.6 kB / 456.2 MB, free: 36.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.1905, allocations: 66 kB / 456.2 MB, free: 36.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.193, allocations: 3.8 MB / 460 MB, free: 33.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.1931, allocations: 182.6 kB / 460.2 MB, free: 33.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.1932, allocations: 44.73 kB / 460.3 MB, free: 33.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.1933, allocations: 112.6 kB / 460.4 MB, free: 33.05 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1933, allocations: 0 / 460.4 MB, free: 33.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.2117, allocations: 7.384 MB / 467.8 MB, free: 31.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.223, allocations: 9.656 kB / 467.8 MB, free: 31.58 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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.00039984 ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mass3.s in file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.s from file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass3.v in file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.v from file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.s in file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.s from file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.v in file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.v from file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass5.s in file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass5.s from file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass5.v in file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass5.v from file ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.37430935446173]