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.001489/0.001489, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2562/0.2562, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 75.88 kB / 480.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3494, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00446/0.354, allocations: 3.15 MB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.3561, allocations: 1.077 MB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.3565, allocations: 5.5 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.3567, allocations: 66.19 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.3571, allocations: 126 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.3577, allocations: 183.1 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005075/0.3582, allocations: 466.1 kB / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.3584, allocations: 118 kB / 0.5355 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.3587, allocations: 166.3 kB / 0.5357 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.3589, allocations: 191.9 kB / 0.5359 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.359, allocations: 35.03 kB / 0.5359 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.3591, allocations: 52.33 kB / 0.536 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.3592, allocations: 74.69 kB / 0.536 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.3594, allocations: 199.3 kB / 0.5362 GB, free: 8.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.3599, allocations: 460.2 kB / 0.5367 GB, free: 8.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3599, allocations: 1.281 kB / 0.5367 GB, free: 8.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3599, allocations: 0 / 0.5367 GB, free: 8.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3599, allocations: 0 / 0.5367 GB, free: 8.652 MB / 398.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.001124/0.3611, allocations: 0.6958 MB / 0.5373 GB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3611, allocations: 10.03 kB / 0.5374 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/0.3612, allocations: 77.44 kB / 0.5374 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.3615, allocations: 69.41 kB / 0.5375 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.3619, allocations: 299.3 kB / 0.5378 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.3619, allocations: 26.66 kB / 0.5378 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/0.362, allocations: 40.75 kB / 0.5378 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.3626, allocations: 363.4 kB / 0.5382 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.3626, allocations: 10.2 kB / 0.5382 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.3627, allocations: 11.59 kB / 0.5382 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.3627, allocations: 8.875 kB / 0.5382 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/0.3632, allocations: 250.9 kB / 0.5385 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.3652, allocations: 1.522 MB / 0.5399 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006544/0.3659, allocations: 413.7 kB / 0.5403 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.3661, allocations: 133.3 kB / 0.5405 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.3661, allocations: 13.83 kB / 0.5405 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.3662, allocations: 44.94 kB / 0.5405 GB, free: 5.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/0.3662, allocations: 1.188 kB / 0.5405 GB, free: 5.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.003036/0.3692, allocations: 1.988 MB / 0.5425 GB, free: 3.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/0.3693, allocations: 194.2 kB / 0.5426 GB, free: 3.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.3696, allocations: 248.3 kB / 0.5429 GB, free: 3.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.3696, allocations: 39.78 kB / 0.5429 GB, free: 3.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3697, allocations: 208.7 kB / 0.5431 GB, free: 3.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3698, allocations: 184.3 kB / 0.5433 GB, free: 2.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.37, allocations: 100.1 kB / 0.5434 GB, free: 2.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3701, allocations: 347.6 kB / 0.5437 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.3703, allocations: 124.9 kB / 0.5438 GB, free: 2.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.3707, allocations: 297.1 kB / 0.5441 GB, free: 2.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.3713, allocations: 462 kB / 0.5446 GB, free: 1.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3713, allocations: 1.219 kB / 0.5446 GB, free: 1.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008652/0.3722, allocations: 494.2 kB / 0.545 GB, free: 1.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3722, allocations: 6.875 kB / 0.545 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3722, allocations: 5.625 kB / 0.5451 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.3722, allocations: 9.344 kB / 0.5451 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.3728, allocations: 146.5 kB / 0.5452 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.3728, allocations: 11.75 kB / 0.5452 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.373, allocations: 26.42 kB / 0.5452 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.3731, allocations: 27.69 kB / 0.5453 GB, free: 1.457 MB / 398.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.0001808/0.3733, allocations: 176.5 kB / 0.5454 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.3734, allocations: 39.17 kB / 0.5455 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.3737, allocations: 130.1 kB / 0.5456 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3737, allocations: 6.188 kB / 0.5456 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.3737, allocations: 6.438 kB / 0.5456 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3737, allocations: 5 kB / 0.5456 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.3757, allocations: 1.247 MB / 0.5468 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.3757, allocations: 3.281 kB / 0.5468 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/0.3762, allocations: 119.6 kB / 0.5469 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.3762, allocations: 4 kB / 0.5469 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.3763, allocations: 16 kB / 0.547 GB, free: 0 / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.93e-05/0.3763, allocations: 12.23 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/0.3763, allocations: 7.984 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3774, allocations: 1.01 MB / 0.548 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3775, allocations: 112.9 kB / 0.5481 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.3775, allocations: 12 kB / 0.5481 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.3779, allocations: 23.98 kB / 0.5481 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.378, allocations: 35.84 kB / 0.5481 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.3781, allocations: 23.98 kB / 0.5482 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.3782, allocations: 174 kB / 0.5483 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3782, allocations: 0 / 0.5483 GB, free: 14.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006959/0.3789, allocations: 100 kB / 0.5484 GB, free: 14.42 MB / 414.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.001366/0.3803, allocations: 1.57 MB / 0.55 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006586/0.381, allocations: 355.3 kB / 0.5503 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.381, allocations: 64 / 0.5503 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.3813, allocations: 171.7 kB / 0.5505 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009947/0.3823, allocations: 91.03 kB / 0.5506 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005864/0.3882, allocations: 4.657 MB / 0.5551 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.3887, allocations: 0.808 MB / 0.5559 GB, free: 6.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.3889, allocations: 43.34 kB / 0.5559 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.3891, allocations: 139.2 kB / 0.5561 GB, free: 6.211 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3891, allocations: 4 kB / 0.5561 GB, free: 6.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.4167, allocations: 7.739 MB / 0.5636 GB, free: 14.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/8.822, allocations: 8.828 kB / 0.5636 GB, free: 14.57 MB / 430.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 & 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.0008 ModelicaTest_trunk_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches