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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.001739, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002592, allocations: 75.89 kB / 0.4909 GB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1349, allocations: 66.04 MB / 0.5554 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005139/0.14, allocations: 3.163 MB / 0.5585 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.1424, allocations: 1.083 MB / 0.5596 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.1428, allocations: 15.88 kB / 0.5596 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.1431, allocations: 67.31 kB / 0.5597 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.1435, allocations: 122.9 kB / 0.5598 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007738/0.1443, allocations: 175.5 kB / 0.5599 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007598/0.145, allocations: 469.8 kB / 0.5604 GB, free: 496 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.1453, allocations: 83.58 kB / 0.5605 GB, free: 404 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.1456, allocations: 179.4 kB / 0.5606 GB, free: 224 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.146, allocations: 179.2 kB / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.049e-05/0.1461, allocations: 32 kB / 0.5608 GB, free: 12 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.1463, allocations: 51.98 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.1464, allocations: 87.67 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.1466, allocations: 195 kB / 0.5612 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007358/0.1473, allocations: 450.1 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1473, allocations: 0 / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1473, allocations: 0 / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.1474, allocations: 4 kB / 0.5616 GB, free: 15.24 MB / 430.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.001491/0.1489, allocations: 0.6975 MB / 0.5623 GB, free: 14.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.1489, allocations: 16.02 kB / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.149, allocations: 70.72 kB / 0.5624 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003695/0.1494, allocations: 64.64 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.1499, allocations: 310.6 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/0.15, allocations: 29.38 kB / 0.5627 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.1501, allocations: 44.12 kB / 0.5628 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/0.1507, allocations: 359.6 kB / 0.5631 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.1508, allocations: 15.89 kB / 0.5631 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.1508, allocations: 12 kB / 0.5632 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.1508, allocations: 8 kB / 0.5632 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005355/0.1514, allocations: 247.8 kB / 0.5634 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.1537, allocations: 1.518 MB / 0.5649 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.1545, allocations: 403.7 kB / 0.5653 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.1547, allocations: 133 kB / 0.5654 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.1548, allocations: 8 kB / 0.5654 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.1548, allocations: 50.5 kB / 0.5655 GB, free: 10.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 2.444e-06/0.1548, allocations: 0 / 0.5655 GB, free: 10.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=48): time 0.003586/0.1584, allocations: 1.994 MB / 0.5674 GB, free: 8.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.1585, allocations: 187.9 kB / 0.5676 GB, free: 8.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.1588, allocations: 255 kB / 0.5678 GB, free: 8.242 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.1589, allocations: 37.64 kB / 0.5679 GB, free: 8.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.159, allocations: 200.7 kB / 0.568 GB, free: 8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.1592, allocations: 194.4 kB / 0.5682 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.1594, allocations: 94.3 kB / 0.5683 GB, free: 7.711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1595, allocations: 350.8 kB / 0.5687 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.1598, allocations: 117.2 kB / 0.5688 GB, free: 7.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.1602, allocations: 299.9 kB / 0.5691 GB, free: 6.875 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007228/0.1609, allocations: 453.9 kB / 0.5695 GB, free: 6.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1609, allocations: 0 / 0.5695 GB, free: 6.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009642/0.1619, allocations: 493.6 kB / 0.57 GB, free: 5.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1619, allocations: 8 kB / 0.57 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.1619, allocations: 11.94 kB / 0.57 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.162, allocations: 8 kB / 0.57 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/0.1625, allocations: 139.8 kB / 0.5701 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.533e-05/0.1625, allocations: 23.86 kB / 0.5701 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.1628, allocations: 20.39 kB / 0.5702 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.1628, allocations: 28 kB / 0.5702 GB, free: 5.633 MB / 430.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.000205/0.163, allocations: 165.7 kB / 0.5703 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.1632, allocations: 39.77 kB / 0.5704 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.1635, allocations: 127.3 kB / 0.5705 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.1635, allocations: 8 kB / 0.5705 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.1635, allocations: 3.938 kB / 0.5705 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.1635, allocations: 7.984 kB / 0.5705 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.1657, allocations: 1.249 MB / 0.5717 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.1657, allocations: 4 kB / 0.5717 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.1662, allocations: 120 kB / 0.5719 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.1663, allocations: 8 kB / 0.5719 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.1663, allocations: 20.12 kB / 0.5719 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.1663, allocations: 8 kB / 0.5719 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.1663, allocations: 8.25 kB / 0.5719 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.1675, allocations: 1.011 MB / 0.5729 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1677, allocations: 112.9 kB / 0.573 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.1677, allocations: 16 kB / 0.573 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.1681, allocations: 8 kB / 0.573 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.1682, allocations: 47.83 kB / 0.5731 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.1682, allocations: 12 kB / 0.5731 GB, free: 2.488 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.1684, allocations: 182 kB / 0.5733 GB, free: 2.312 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1684, allocations: 4 kB / 0.5733 GB, free: 2.309 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007523/0.1692, allocations: 100 kB / 0.5734 GB, free: 2.211 MB / 430.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.001589/0.1708, allocations: 1.562 MB / 0.5749 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007346/0.1715, allocations: 335.6 kB / 0.5752 GB, free: 268 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.1715, allocations: 4 kB / 0.5752 GB, free: 264 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.1718, allocations: 163.6 kB / 0.5754 GB, free: 100 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.1729, allocations: 86.08 kB / 0.5754 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007351/0.1803, allocations: 4.673 MB / 0.58 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.1809, allocations: 0.8119 MB / 0.5808 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.1811, allocations: 47.34 kB / 0.5808 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.1814, allocations: 131.4 kB / 0.581 GB, free: 10.02 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1814, allocations: 0 / 0.581 GB, free: 10.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03821/0.2196, allocations: 7.788 MB / 0.5886 GB, free: 2.344 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.94/9.16, allocations: 0 / 0.5886 GB, free: 2.344 MB / 446.1 MB " [Timeout remaining time 651] (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.000399521 ModelicaTest_trunk_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass3.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass3.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass3.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass4.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass4.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass5.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass5.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass5.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass5.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass6.s in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass6.s from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! Error: Could not read variable mass6.v in file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv. Warning: Get data of variable mass6.v from file ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.572891127085313]