Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01419/0.01419, allocations: 174.6 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.195/2.195, allocations: 194.5 MB / 210.3 MB, free: 8.789 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00258/0.00258, allocations: 128.6 kB / 255.6 MB, free: 11.39 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2635/0.2635, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004766, allocations: 10.66 kB / 406.3 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09973/0.1002, allocations: 54.87 MB / 461.1 MB, free: 3.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.2503, allocations: 82.45 MB / 0.5308 GB, free: 0.793 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.2507, allocations: 63.97 kB / 0.5309 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3194/0.57, allocations: 4.52 MB / 0.5353 GB, free: 82.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5701, allocations: 0 / 0.5353 GB, free: 82.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.486e-05/0.5701, allocations: 11.64 kB / 0.5353 GB, free: 82.83 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008754/0.571, allocations: 495.8 kB / 0.5358 GB, free: 82.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.5711, allocations: 10.12 kB / 0.5358 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.254e-05/0.5712, allocations: 54.97 kB / 0.5359 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.5712, allocations: 29.03 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.5715, allocations: 229.3 kB / 0.5361 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.5716, allocations: 14.53 kB / 0.5361 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.5717, allocations: 25.86 kB / 0.5361 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.5722, allocations: 221.1 kB / 0.5364 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.5722, allocations: 1.969 kB / 0.5364 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.5723, allocations: 8.531 kB / 0.5364 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.5723, allocations: 11.23 kB / 0.5364 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.5727, allocations: 137.3 kB / 0.5365 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.5747, allocations: 0.9857 MB / 0.5375 GB, free: 81.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.5753, allocations: 238.5 kB / 0.5377 GB, free: 81.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.5753, allocations: 3 kB / 0.5377 GB, free: 81.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.5754, allocations: 49.77 kB / 0.5377 GB, free: 81.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 4.098e-06/0.5754, allocations: 0 / 0.5377 GB, free: 81.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002118/0.5775, allocations: 1.008 MB / 0.5387 GB, free: 80.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.5776, allocations: 140.5 kB / 0.5389 GB, free: 80.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.5779, allocations: 165.8 kB / 0.539 GB, free: 80.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.578, allocations: 31.31 kB / 0.5391 GB, free: 80.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.5781, allocations: 154.6 kB / 0.5392 GB, free: 80.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.5782, allocations: 108.2 kB / 0.5393 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.5782, allocations: 9.094 kB / 0.5393 GB, free: 79.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.5783, allocations: 333 kB / 0.5396 GB, free: 79.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.5785, allocations: 64.64 kB / 0.5397 GB, free: 79.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.5788, allocations: 176.1 kB / 0.5399 GB, free: 79.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.5791, allocations: 94.7 kB / 0.5399 GB, free: 79.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5791, allocations: 1.188 kB / 0.5399 GB, free: 79.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007957/0.5799, allocations: 310.3 kB / 0.5402 GB, free: 79.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.58, allocations: 14.17 kB / 0.5403 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.58, allocations: 5.016 kB / 0.5403 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/0.58, allocations: 6.219 kB / 0.5403 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.5806, allocations: 86.19 kB / 0.5404 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.5807, allocations: 6.703 kB / 0.5404 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.581, allocations: 11.22 kB / 0.5404 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.581, allocations: 17.59 kB / 0.5404 GB, free: 79.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002064/0.5812, allocations: 155.9 kB / 0.5405 GB, free: 79.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.5814, allocations: 22.56 kB / 0.5406 GB, free: 79.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.5817, allocations: 112.2 kB / 0.5407 GB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.5817, allocations: 4.312 kB / 0.5407 GB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.5818, allocations: 1.406 kB / 0.5407 GB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.5818, allocations: 3.25 kB / 0.5407 GB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.5834, allocations: 0.7725 MB / 0.5414 GB, free: 78.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.5834, allocations: 2.875 kB / 0.5414 GB, free: 78.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.584, allocations: 68.2 kB / 0.5415 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.5841, allocations: 9.078 kB / 0.5415 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.5841, allocations: 9.109 kB / 0.5415 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.5841, allocations: 5.125 kB / 0.5415 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.5842, allocations: 6.203 kB / 0.5415 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009396/0.5851, allocations: 0.7487 MB / 0.5423 GB, free: 78.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/0.5852, allocations: 94.7 kB / 0.5423 GB, free: 77.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.5853, allocations: 14 kB / 0.5424 GB, free: 77.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.5857, allocations: 10.77 kB / 0.5424 GB, free: 77.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.5857, allocations: 30.23 kB / 0.5424 GB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.5858, allocations: 9.219 kB / 0.5424 GB, free: 77.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001915/0.586, allocations: 133.8 kB / 0.5425 GB, free: 77.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.586, allocations: 0 / 0.5425 GB, free: 77.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007131/0.5867, allocations: 59.44 kB / 0.5426 GB, free: 77.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001215/0.5879, allocations: 1.898 MB / 0.5444 GB, free: 76.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006268/0.5886, allocations: 199.5 kB / 0.5446 GB, free: 76.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.5886, allocations: 1.531 kB / 0.5446 GB, free: 76.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.5889, allocations: 89.36 kB / 0.5447 GB, free: 76.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008714/0.5898, allocations: 51 kB / 0.5448 GB, free: 76.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/0.5943, allocations: 4.305 MB / 0.549 GB, free: 72.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.5947, allocations: 0.7553 MB / 0.5497 GB, free: 71.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.5949, allocations: 27.22 kB / 0.5497 GB, free: 71.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.5951, allocations: 74.73 kB / 0.5498 GB, free: 71.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5951, allocations: 0 / 0.5498 GB, free: 71.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03382/0.6289, allocations: 4.279 MB / 0.554 GB, free: 69.96 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/0.6292, allocations: 163.9 kB / 0.5541 GB, free: 69.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.24, allocations: 7.938 kB / 0.5541 GB, free: 69.72 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat