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.001266/0.001266, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 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.001449/0.001449, allocations: 211.2 kB / 20.75 MB, free: 2.293 MB / 14.72 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 1.515/1.515, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.2279/0.2279, allocations: 44.91 MB / 355.1 MB, free: 12.34 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.89 kB / 499.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.124, allocations: 65.42 MB / 0.5517 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004568/0.1285, allocations: 2.901 MB / 0.5546 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.1307, allocations: 1.02 MB / 0.5556 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.1309, allocations: 11.88 kB / 0.5556 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1312, allocations: 55.44 kB / 0.5556 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.1315, allocations: 111.1 kB / 0.5557 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.132, allocations: 151.6 kB / 0.5559 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000477/0.1325, allocations: 386.2 kB / 0.5562 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.1327, allocations: 77.38 kB / 0.5563 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.1329, allocations: 147.4 kB / 0.5565 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.1331, allocations: 155.2 kB / 0.5566 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.137e-05/0.1331, allocations: 24 kB / 0.5566 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1332, allocations: 55.98 kB / 0.5567 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.1333, allocations: 63.77 kB / 0.5567 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1335, allocations: 171.1 kB / 0.5569 GB, free: 4.855 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.134, allocations: 382.4 kB / 0.5573 GB, free: 4.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.134, allocations: 3.938 kB / 0.5573 GB, free: 4.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.134, allocations: 0 / 0.5573 GB, free: 4.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.134, allocations: 0 / 0.5573 GB, free: 4.477 MB / 414.1 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.001205/0.1352, allocations: 0.635 MB / 0.5579 GB, free: 3.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1352, allocations: 12.03 kB / 0.5579 GB, free: 3.781 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.999e-05/0.1353, allocations: 66.72 kB / 0.558 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.1356, allocations: 60.69 kB / 0.558 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.1361, allocations: 276.8 kB / 0.5583 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.1361, allocations: 25.03 kB / 0.5583 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.235e-05/0.1362, allocations: 36.08 kB / 0.5583 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/0.1367, allocations: 306.3 kB / 0.5586 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.1367, allocations: 0 / 0.5586 GB, free: 2.957 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.1367, allocations: 15.94 kB / 0.5587 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1367, allocations: 8 kB / 0.5587 GB, free: 2.934 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.1371, allocations: 195.8 kB / 0.5589 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.1392, allocations: 1.3 MB / 0.5601 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.1397, allocations: 320.8 kB / 0.5604 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.1399, allocations: 108.5 kB / 0.5605 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1399, allocations: 12.39 kB / 0.5605 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.14, allocations: 34.56 kB / 0.5606 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 1.633e-06/0.14, allocations: 4 kB / 0.5606 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002867/0.1428, allocations: 1.599 MB / 0.5621 GB, free: 15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.143, allocations: 158.2 kB / 0.5623 GB, free: 14.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.1433, allocations: 232.9 kB / 0.5625 GB, free: 14.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.1433, allocations: 37.64 kB / 0.5625 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1434, allocations: 184.5 kB / 0.5627 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.1436, allocations: 158.7 kB / 0.5629 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.1437, allocations: 78.22 kB / 0.5629 GB, free: 14.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1439, allocations: 354.7 kB / 0.5633 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.144, allocations: 93.08 kB / 0.5634 GB, free: 13.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.1443, allocations: 239.6 kB / 0.5636 GB, free: 13.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.1449, allocations: 386.8 kB / 0.564 GB, free: 12.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1449, allocations: 0 / 0.564 GB, free: 12.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006755/0.1455, allocations: 416.8 kB / 0.5644 GB, free: 12.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.1456, allocations: 8 kB / 0.5644 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1456, allocations: 4 kB / 0.5644 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.1456, allocations: 8 kB / 0.5644 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.146, allocations: 119.8 kB / 0.5645 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.887e-05/0.1461, allocations: 11.94 kB / 0.5645 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.1462, allocations: 16.31 kB / 0.5645 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.1463, allocations: 31.94 kB / 0.5646 GB, free: 12.3 MB / 430.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.0001813/0.1465, allocations: 155.9 kB / 0.5647 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.1466, allocations: 39.8 kB / 0.5647 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.1469, allocations: 119.3 kB / 0.5649 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.1469, allocations: 4 kB / 0.5649 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.1469, allocations: 4 kB / 0.5649 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.147, allocations: 3.984 kB / 0.5649 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.1487, allocations: 1.042 MB / 0.5659 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1487, allocations: 0 / 0.5659 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.1491, allocations: 103.8 kB / 0.566 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1491, allocations: 4 kB / 0.566 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.1492, allocations: 12 kB / 0.566 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.1492, allocations: 8 kB / 0.566 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1492, allocations: 0 / 0.566 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/0.1501, allocations: 0.8422 MB / 0.5668 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.1502, allocations: 104.9 kB / 0.5669 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/0.1503, allocations: 16.17 kB / 0.567 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.1506, allocations: 8 kB / 0.567 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.1507, allocations: 39.78 kB / 0.567 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.1507, allocations: 16.23 kB / 0.567 GB, free: 9.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.1509, allocations: 164.5 kB / 0.5672 GB, free: 9.465 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1509, allocations: 0 / 0.5672 GB, free: 9.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005906/0.1515, allocations: 80 kB / 0.5672 GB, free: 9.387 MB / 430.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.001235/0.1528, allocations: 1.375 MB / 0.5686 GB, free: 7.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005092/0.1533, allocations: 271.4 kB / 0.5688 GB, free: 7.695 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1533, allocations: 0 / 0.5688 GB, free: 7.695 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.1535, allocations: 133.2 kB / 0.569 GB, free: 7.566 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008807/0.1544, allocations: 74.83 kB / 0.569 GB, free: 7.496 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005633/0.16, allocations: 4.05 MB / 0.573 GB, free: 3.172 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.1605, allocations: 0.7919 MB / 0.5738 GB, free: 2.355 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.1607, allocations: 35.28 kB / 0.5738 GB, free: 2.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.1608, allocations: 115.6 kB / 0.5739 GB, free: 2.207 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1608, allocations: 0 / 0.5739 GB, free: 2.207 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/0.1949, allocations: 6.592 MB / 0.5804 GB, free: 11.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.63/8.825, allocations: 4.562 kB / 0.5804 GB, free: 11.73 MB / 446.1 MB " [Timeout remaining time 651] (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/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_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: 12.225475376937538]