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.001751/0.001759, allocations: 101.1 kB / 16.4 MB, free: 6.457 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.001317/0.001317, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.586/1.586, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2438/0.2438, allocations: 43.52 MB / 314.1 MB, free: 456 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.002094/0.002094, allocations: 73.45 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1286, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004717/0.1334, allocations: 2.788 MB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1355, allocations: 0.99 MB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.1358, allocations: 4 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.136, allocations: 63.44 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.1363, allocations: 95.06 kB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.1369, allocations: 151.6 kB / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.1374, allocations: 382.2 kB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.1376, allocations: 89.11 kB / 0.4918 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.1378, allocations: 131.5 kB / 0.4919 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.138, allocations: 155.2 kB / 0.4921 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.138, allocations: 24 kB / 0.4921 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1382, allocations: 43.98 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.1383, allocations: 71.75 kB / 0.4922 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.1384, allocations: 163.2 kB / 0.4924 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.1389, allocations: 370.4 kB / 0.4927 GB, free: 6.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.139, allocations: 4 kB / 0.4927 GB, free: 6.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.139, allocations: 0 / 0.4927 GB, free: 6.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.139, allocations: 0 / 0.4927 GB, free: 6.801 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.00105/0.14, allocations: 0.6311 MB / 0.4933 GB, free: 6.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1401, allocations: 11.89 kB / 0.4934 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.151e-05/0.1402, allocations: 70.72 kB / 0.4934 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.1404, allocations: 52.69 kB / 0.4935 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.1408, allocations: 279.5 kB / 0.4937 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.1409, allocations: 21.03 kB / 0.4938 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.1409, allocations: 32.38 kB / 0.4938 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.1415, allocations: 306.4 kB / 0.4941 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.1415, allocations: 11.95 kB / 0.4941 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.1415, allocations: 12 kB / 0.4941 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1415, allocations: 11.94 kB / 0.4941 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.1419, allocations: 211.7 kB / 0.4943 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.1439, allocations: 1.284 MB / 0.4956 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.1445, allocations: 333 kB / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.1447, allocations: 104.3 kB / 0.496 GB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1447, allocations: 4 kB / 0.496 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.1447, allocations: 46.83 kB / 0.496 GB, free: 3.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 2.405e-06/0.1447, allocations: 0 / 0.496 GB, free: 3.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002779/0.1475, allocations: 1.579 MB / 0.4976 GB, free: 1.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.1477, allocations: 162.2 kB / 0.4977 GB, free: 1.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.1479, allocations: 236.9 kB / 0.498 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.148, allocations: 29.7 kB / 0.498 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.1481, allocations: 176.5 kB / 0.4982 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.1482, allocations: 162.6 kB / 0.4983 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.1484, allocations: 86.2 kB / 0.4984 GB, free: 444 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1485, allocations: 338.8 kB / 0.4987 GB, free: 96 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.1487, allocations: 93.08 kB / 0.4988 GB, free: 4 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.149, allocations: 247.5 kB / 0.499 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.1495, allocations: 365.9 kB / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1496, allocations: 0 / 0.4994 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006403/0.1502, allocations: 414.1 kB / 0.4998 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1502, allocations: 11.98 kB / 0.4998 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.1503, allocations: 4 kB / 0.4998 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.1503, allocations: 11.94 kB / 0.4998 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.1507, allocations: 115.8 kB / 0.4999 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.1507, allocations: 12.31 kB / 0.4999 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.1509, allocations: 20 kB / 0.5 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.151, allocations: 20 kB / 0.5 GB, free: 14.67 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.000179/0.1512, allocations: 165.6 kB / 0.5001 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.1513, allocations: 31.81 kB / 0.5002 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.1515, allocations: 119.3 kB / 0.5003 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.1516, allocations: 11.92 kB / 0.5003 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.1516, allocations: 4 kB / 0.5003 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1516, allocations: 4 kB / 0.5003 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.1532, allocations: 1.037 MB / 0.5013 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1532, allocations: 4 kB / 0.5013 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.1536, allocations: 95.89 kB / 0.5014 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.1537, allocations: 4.234 kB / 0.5014 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.1537, allocations: 12 kB / 0.5014 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.1537, allocations: 4 kB / 0.5014 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.1537, allocations: 7.938 kB / 0.5014 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.1547, allocations: 0.8339 MB / 0.5022 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1548, allocations: 108.9 kB / 0.5023 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.1548, allocations: 8 kB / 0.5024 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.1551, allocations: 16.09 kB / 0.5024 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.1552, allocations: 47.77 kB / 0.5024 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.1552, allocations: 12 kB / 0.5024 GB, free: 11.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1554, allocations: 156.5 kB / 0.5026 GB, free: 11.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1555, allocations: 0 / 0.5026 GB, free: 11.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.156, allocations: 84 kB / 0.5027 GB, free: 11.75 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.001425/0.1575, allocations: 1.38 MB / 0.504 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006214/0.1581, allocations: 288.9 kB / 0.5043 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1581, allocations: 7.938 kB / 0.5043 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1583, allocations: 131.8 kB / 0.5044 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009112/0.1592, allocations: 73.95 kB / 0.5045 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.1646, allocations: 3.999 MB / 0.5084 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.1652, allocations: 0.7881 MB / 0.5092 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.1654, allocations: 39.27 kB / 0.5092 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.1656, allocations: 103.4 kB / 0.5093 GB, free: 4.613 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1656, allocations: 0 / 0.5093 GB, free: 4.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/0.2137, allocations: 6.437 MB / 0.5156 GB, free: 14.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.599/8.813, allocations: 12.33 kB / 0.5156 GB, free: 14.16 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_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.csv","/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