Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001394, allocations: 104.3 kB / 16.4 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 188.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2359/0.2359, allocations: 43.52 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001582, allocations: 65.47 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1205, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004215/0.1248, allocations: 2.785 MB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1267, allocations: 0.9939 MB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003498/0.1271, allocations: 4 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1273, allocations: 51.45 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.1278, allocations: 107 kB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.1285, allocations: 147.6 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.1291, allocations: 378.2 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.1293, allocations: 93.11 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.1296, allocations: 135.5 kB / 0.4919 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1298, allocations: 159.2 kB / 0.4921 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.1299, allocations: 24 kB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.13, allocations: 43.98 kB / 0.4921 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.1301, allocations: 63.77 kB / 0.4922 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.1302, allocations: 163.2 kB / 0.4924 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.1307, allocations: 370.7 kB / 0.4927 GB, free: 6.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1308, allocations: 0 / 0.4927 GB, free: 6.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1308, allocations: 8 kB / 0.4927 GB, free: 6.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1308, allocations: 0 / 0.4927 GB, free: 6.789 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001119/0.1319, allocations: 0.6159 MB / 0.4933 GB, free: 6.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.132, allocations: 11.89 kB / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.245e-05/0.132, allocations: 66.72 kB / 0.4934 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.1323, allocations: 52.45 kB / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.1327, allocations: 279.4 kB / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.1327, allocations: 21.03 kB / 0.4937 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.1328, allocations: 48.27 kB / 0.4938 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.1333, allocations: 306.4 kB / 0.4941 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1333, allocations: 0 / 0.4941 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.1334, allocations: 12 kB / 0.4941 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1334, allocations: 8 kB / 0.4941 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.1337, allocations: 203.8 kB / 0.4943 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.1355, allocations: 1.28 MB / 0.4955 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.136, allocations: 336.8 kB / 0.4959 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.1362, allocations: 108.3 kB / 0.496 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1362, allocations: 4 kB / 0.496 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1362, allocations: 42.55 kB / 0.496 GB, free: 3.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.1362, allocations: 4.266 kB / 0.496 GB, free: 3.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002462/0.1387, allocations: 1.575 MB / 0.4976 GB, free: 1.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.1388, allocations: 162.2 kB / 0.4977 GB, free: 1.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.139, allocations: 221 kB / 0.4979 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.139, allocations: 37.7 kB / 0.498 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1392, allocations: 180.2 kB / 0.4981 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.1393, allocations: 153.8 kB / 0.4983 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.1394, allocations: 82.17 kB / 0.4984 GB, free: 476 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1395, allocations: 346.8 kB / 0.4987 GB, free: 120 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.1397, allocations: 89.08 kB / 0.4988 GB, free: 32 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.1399, allocations: 247.5 kB / 0.499 GB, free: 15.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.1404, allocations: 365.9 kB / 0.4994 GB, free: 15.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1404, allocations: 0 / 0.4994 GB, free: 15.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006288/0.141, allocations: 417.2 kB / 0.4997 GB, free: 14.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1411, allocations: 8 kB / 0.4998 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.1411, allocations: 4 kB / 0.4998 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.1411, allocations: 11.98 kB / 0.4998 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.1415, allocations: 123.8 kB / 0.4999 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.1415, allocations: 16 kB / 0.4999 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.1418, allocations: 12 kB / 0.4999 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.1418, allocations: 24.38 kB / 0.4999 GB, free: 14.69 MB / 398.1 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 0.0001628/0.142, allocations: 165.6 kB / 0.5001 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1421, allocations: 31.62 kB / 0.5001 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.1423, allocations: 119.3 kB / 0.5002 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1424, allocations: 8.031 kB / 0.5003 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.1424, allocations: 3.938 kB / 0.5003 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1424, allocations: 7.984 kB / 0.5003 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.1439, allocations: 1.03 MB / 0.5013 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.1439, allocations: 7.984 kB / 0.5013 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.1444, allocations: 91.91 kB / 0.5014 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.1444, allocations: 4 kB / 0.5014 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.1444, allocations: 15.98 kB / 0.5014 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.1444, allocations: 4 kB / 0.5014 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.1444, allocations: 7.938 kB / 0.5014 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/0.1452, allocations: 0.8257 MB / 0.5022 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/0.1453, allocations: 108.8 kB / 0.5023 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.1454, allocations: 12 kB / 0.5023 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.1457, allocations: 8 kB / 0.5023 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.1458, allocations: 32.02 kB / 0.5024 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.1458, allocations: 23.92 kB / 0.5024 GB, free: 12.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1459, allocations: 160.4 kB / 0.5025 GB, free: 11.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1459, allocations: 0 / 0.5025 GB, free: 11.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006136/0.1466, allocations: 80 kB / 0.5026 GB, free: 11.79 MB / 398.1 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.001017/0.1476, allocations: 1.387 MB / 0.504 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004895/0.1481, allocations: 276 kB / 0.5042 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1481, allocations: 0 / 0.5042 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.1483, allocations: 137 kB / 0.5044 GB, free: 9.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/0.1492, allocations: 83.94 kB / 0.5044 GB, free: 9.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/0.1538, allocations: 3.996 MB / 0.5083 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1542, allocations: 0.792 MB / 0.5091 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.1544, allocations: 39.27 kB / 0.5091 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.1545, allocations: 107.4 kB / 0.5092 GB, free: 4.652 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1545, allocations: 0 / 0.5092 GB, free: 4.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.1843, allocations: 6.488 MB / 0.5156 GB, free: 14.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.293, allocations: 16.33 kB / 0.5156 GB, free: 14.14 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches