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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 70.19 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1512, allocations: 62.46 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004342/0.1556, allocations: 3.137 MB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1576, allocations: 1.075 MB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.1579, allocations: 7.938 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.1582, allocations: 67.31 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.1585, allocations: 122.9 kB / 484.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.1591, allocations: 171.6 kB / 484.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005421/0.1596, allocations: 469.8 kB / 485.2 MB, free: 128 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.1599, allocations: 116.4 kB / 485.3 MB, free: 8 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.1601, allocations: 163.5 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.1604, allocations: 191 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.38e-05/0.1605, allocations: 32 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1606, allocations: 51.98 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.1607, allocations: 75.75 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.1609, allocations: 199 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.1614, allocations: 458.5 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1614, allocations: 0 / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1614, allocations: 0 / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1614, allocations: 0 / 486.4 MB, free: 14.86 MB / 366.1 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.001191/0.1626, allocations: 0.6823 MB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1626, allocations: 12.03 kB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.902e-05/0.1627, allocations: 74.72 kB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.163, allocations: 68.44 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.1634, allocations: 294.5 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.1634, allocations: 29.38 kB / 487.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.525e-05/0.1635, allocations: 44.06 kB / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.1641, allocations: 355.6 kB / 488 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.1642, allocations: 7.906 kB / 488 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.1642, allocations: 16 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1642, allocations: 12 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.1648, allocations: 251.7 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.167, allocations: 1.533 MB / 489.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/0.1677, allocations: 419.6 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.168, allocations: 145 kB / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.168, allocations: 8 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.168, allocations: 38.56 kB / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.983e-06/0.168, allocations: 0 / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.003267/0.1713, allocations: 1.965 MB / 492.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.1714, allocations: 191.8 kB / 492.5 MB, free: 8.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.1717, allocations: 255 kB / 492.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.1717, allocations: 33.7 kB / 492.8 MB, free: 7.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1718, allocations: 204.4 kB / 493 MB, free: 7.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.172, allocations: 177.4 kB / 493.2 MB, free: 7.465 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.1721, allocations: 102.2 kB / 493.3 MB, free: 7.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1722, allocations: 346.8 kB / 493.6 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.1725, allocations: 121.2 kB / 493.7 MB, free: 6.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.1729, allocations: 295.9 kB / 494 MB, free: 6.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.1735, allocations: 449.6 kB / 494.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1735, allocations: 7.938 kB / 494.5 MB, free: 6.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008267/0.1744, allocations: 0.4898 MB / 495 MB, free: 5.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1744, allocations: 8 kB / 495 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1744, allocations: 4 kB / 495 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.1744, allocations: 12 kB / 495 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.1749, allocations: 135.8 kB / 495.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.888e-05/0.175, allocations: 19.86 kB / 495.1 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.1752, allocations: 20 kB / 495.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.1753, allocations: 24 kB / 495.2 MB, free: 5.289 MB / 366.1 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 0.000161/0.1754, allocations: 169.9 kB / 495.3 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.1756, allocations: 47.52 kB / 495.4 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.1758, allocations: 123.4 kB / 495.5 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1759, allocations: 7.984 kB / 495.5 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.1759, allocations: 7.938 kB / 495.5 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1759, allocations: 0 / 495.5 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.1779, allocations: 1.249 MB / 496.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.1779, allocations: 4 kB / 496.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.1784, allocations: 127.7 kB / 496.9 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.1784, allocations: 4 kB / 496.9 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.1785, allocations: 16 kB / 496.9 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.1785, allocations: 8.312 kB / 496.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1785, allocations: 8 kB / 496.9 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.1796, allocations: 1.005 MB / 497.9 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.776e-05/0.1797, allocations: 112.7 kB / 498 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.1797, allocations: 16 kB / 498.1 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.1801, allocations: 12.19 kB / 498.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.1802, allocations: 43.83 kB / 498.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.1802, allocations: 24.11 kB / 498.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.1804, allocations: 182 kB / 498.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1804, allocations: 0 / 498.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006693/0.1811, allocations: 92 kB / 498.4 MB, free: 1.867 MB / 366.1 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.001382/0.1825, allocations: 1.561 MB / 500 MB, free: 260 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007167/0.1832, allocations: 364.4 kB / 0.4886 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.1832, allocations: 0 / 0.4886 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.1835, allocations: 171.7 kB / 0.4888 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.1846, allocations: 88.75 kB / 0.4888 GB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/0.1905, allocations: 4.66 MB / 0.4934 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.191, allocations: 0.8122 MB / 0.4942 GB, free: 9.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.1912, allocations: 47.34 kB / 0.4942 GB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.1914, allocations: 131.4 kB / 0.4944 GB, free: 9.664 MB / 382.1 MB Notification: Performance of SimCode: time 2.194e-06/0.1914, allocations: 0 / 0.4944 GB, free: 9.664 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.2194, allocations: 7.58 MB / 0.5018 GB, free: 2.172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/7.92, allocations: 3.125 kB / 0.5018 GB, free: 2.172 MB / 382.1 MB (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.0008 ModelicaTest_trunk_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches