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.001419/0.001419, allocations: 107.1 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2143/0.2143, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002532/0.002532, allocations: 73.41 kB / 417.1 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1392, allocations: 62.45 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004587/0.1438, allocations: 3.189 MB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1455, allocations: 1.063 MB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.1457, allocations: 11.94 kB / 483.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.1459, allocations: 47.61 kB / 483.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1461, allocations: 111.1 kB / 484 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.1467, allocations: 155.7 kB / 484.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.1471, allocations: 461.8 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.1473, allocations: 116.4 kB / 484.7 MB, free: 360 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1475, allocations: 163.4 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1477, allocations: 183.1 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.1478, allocations: 32.05 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1479, allocations: 55.94 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.148, allocations: 75.73 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.1482, allocations: 195 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.1486, allocations: 458.5 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1486, allocations: 4 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1486, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1486, allocations: 0 / 485.9 MB, free: 15.21 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.001143/0.1498, allocations: 0.6863 MB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1498, allocations: 8.031 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.965e-05/0.1499, allocations: 78.66 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.1502, allocations: 64.44 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1505, allocations: 298.5 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.1506, allocations: 29.38 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.1506, allocations: 44.12 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005754/0.1512, allocations: 359.6 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.1512, allocations: 7.906 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.1513, allocations: 12 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1513, allocations: 15.98 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.1518, allocations: 243.8 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.1538, allocations: 1.525 MB / 489.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006818/0.1545, allocations: 423.3 kB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.1547, allocations: 133.7 kB / 489.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.1547, allocations: 11.92 kB / 489.8 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1548, allocations: 46.5 kB / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.843e-06/0.1548, allocations: 0 / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.003062/0.1579, allocations: 1.973 MB / 491.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/0.158, allocations: 187.9 kB / 492 MB, free: 8.488 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.1582, allocations: 255 kB / 492.2 MB, free: 8.227 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1582, allocations: 33.7 kB / 492.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.1584, allocations: 200.4 kB / 492.4 MB, free: 7.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.1586, allocations: 189.4 kB / 492.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1587, allocations: 94.25 kB / 492.7 MB, free: 7.703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1588, allocations: 350.8 kB / 493.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.1591, allocations: 117.2 kB / 493.2 MB, free: 7.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.1594, allocations: 295.9 kB / 493.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.16, allocations: 445.1 kB / 493.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.16, allocations: 7.875 kB / 493.9 MB, free: 6.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007353/0.1607, allocations: 0.4894 MB / 494.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1607, allocations: 10.66 kB / 494.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.1608, allocations: 8 kB / 494.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1608, allocations: 8 kB / 494.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.1613, allocations: 139.8 kB / 494.6 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/0.1613, allocations: 23.86 kB / 494.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.1616, allocations: 20 kB / 494.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.1616, allocations: 24 kB / 494.6 MB, free: 5.629 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.0001825/0.1618, allocations: 169.8 kB / 494.8 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.1619, allocations: 39.53 kB / 494.8 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.1622, allocations: 127.3 kB / 495 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1622, allocations: 8 kB / 495 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.1622, allocations: 7.938 kB / 495 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1622, allocations: 3.984 kB / 495 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.1642, allocations: 1.249 MB / 496.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.1642, allocations: 4 kB / 496.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/0.1647, allocations: 127.8 kB / 496.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.1648, allocations: 4 kB / 496.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.1648, allocations: 16 kB / 496.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.1648, allocations: 4 kB / 496.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.1648, allocations: 12.25 kB / 496.4 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.1659, allocations: 0.9972 MB / 497.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/0.166, allocations: 112.7 kB / 497.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.1661, allocations: 16.19 kB / 497.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.1665, allocations: 16 kB / 497.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.1666, allocations: 43.83 kB / 497.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.1666, allocations: 16 kB / 497.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.1667, allocations: 178 kB / 497.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1667, allocations: 4 kB / 497.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006426/0.1674, allocations: 100 kB / 497.9 MB, free: 2.211 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.001283/0.1687, allocations: 1.554 MB / 499.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000678/0.1694, allocations: 368.7 kB / 499.8 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1694, allocations: 0 / 499.8 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.1697, allocations: 175.7 kB / 499.9 MB, free: 72 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/0.1707, allocations: 94.55 kB / 0.4883 GB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.1761, allocations: 4.788 MB / 0.493 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.1766, allocations: 0.816 MB / 0.4938 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002214/0.1768, allocations: 47.33 kB / 0.4938 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.177, allocations: 135.4 kB / 0.494 GB, free: 9.867 MB / 382.1 MB Notification: Performance of SimCode: time 2.465e-06/0.177, allocations: 0 / 0.494 GB, free: 9.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2489/0.4259, allocations: 7.459 MB / 0.5012 GB, free: 2.547 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.4262, allocations: 192.8 kB / 0.5014 GB, free: 2.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.015, allocations: 0 / 0.5014 GB, free: 2.289 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/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