Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters.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.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Limiters",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.00992/0.00992, allocations: 173.8 kB / 15.12 MB, free: 5.93 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 1.945/1.945, allocations: 194.5 MB / 210.3 MB, free: 7.594 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.002011/0.002011, allocations: 120.6 kB / 255.6 MB, free: 10.22 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.2526/0.2526, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004888, allocations: 10.56 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.2497, allocations: 81.85 MB / 0.5303 GB, free: 1.242 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.25, allocations: 63.97 kB / 0.5303 GB, free: 1.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3078/0.5578, allocations: 4.028 MB / 0.5342 GB, free: 82.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5579, allocations: 1.188 kB / 0.5342 GB, free: 82.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.5579, allocations: 2.125 kB / 0.5342 GB, free: 82.95 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008094/0.5587, allocations: 459.2 kB / 0.5347 GB, free: 82.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5588, allocations: 9.188 kB / 0.5347 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.468e-05/0.5588, allocations: 41.36 kB / 0.5347 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.5589, allocations: 13.66 kB / 0.5347 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.5592, allocations: 215.3 kB / 0.535 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.5592, allocations: 0.6562 kB / 0.535 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.5593, allocations: 11.69 kB / 0.535 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.5599, allocations: 183.5 kB / 0.5351 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.56, allocations: 5.281 kB / 0.5351 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.56, allocations: 5.125 kB / 0.5351 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.56, allocations: 5.344 kB / 0.5352 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007647/0.5608, allocations: 153.8 kB / 0.5353 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.562, allocations: 464 kB / 0.5357 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.5637, allocations: 314.3 kB / 0.536 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.5638, allocations: 9.109 kB / 0.5361 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.5638, allocations: 39.17 kB / 0.5361 GB, free: 81.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/0.5639, allocations: 0 / 0.5361 GB, free: 81.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.00146/0.5653, allocations: 281.7 kB / 0.5364 GB, free: 81.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.5654, allocations: 108 kB / 0.5365 GB, free: 81.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.5656, allocations: 140 kB / 0.5366 GB, free: 81.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.5656, allocations: 28.73 kB / 0.5366 GB, free: 81.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.5657, allocations: 107 kB / 0.5367 GB, free: 81.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.5658, allocations: 24.72 kB / 0.5367 GB, free: 81.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.5658, allocations: 1.156 kB / 0.5367 GB, free: 81.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.5659, allocations: 326.2 kB / 0.5371 GB, free: 81.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.5663, allocations: 81.58 kB / 0.5371 GB, free: 81.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.5668, allocations: 108.3 kB / 0.5372 GB, free: 81.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.5672, allocations: 77.53 kB / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5672, allocations: 0 / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009416/0.5682, allocations: 212.8 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.5682, allocations: 97.09 kB / 0.5376 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5683, allocations: 1.5 kB / 0.5376 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5683, allocations: 0 / 0.5376 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.5686, allocations: 40.17 kB / 0.5377 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.5686, allocations: 1.281 kB / 0.5377 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.569, allocations: 46.75 kB / 0.5377 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.5691, allocations: 3.453 kB / 0.5377 GB, free: 80.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.5691, allocations: 2.938 kB / 0.5377 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00042/0.5695, allocations: 92.64 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.5696, allocations: 0 / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-06/0.5696, allocations: 1.219 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.5697, allocations: 22.73 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.5698, allocations: 1.703 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.5699, allocations: 22.09 kB / 0.5378 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.57, allocations: 1.156 kB / 0.5378 GB, free: 80.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001641/0.5701, allocations: 194.8 kB / 0.538 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.5702, allocations: 17.75 kB / 0.538 GB, free: 80.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.5703, allocations: 15.48 kB / 0.5381 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5703, allocations: 1.531 kB / 0.5381 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5703, allocations: 0 / 0.5381 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5703, allocations: 2 kB / 0.5381 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.5706, allocations: 215.6 kB / 0.5383 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5706, allocations: 4.609 kB / 0.5383 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.571, allocations: 48.98 kB / 0.5383 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.571, allocations: 1.094 kB / 0.5383 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.571, allocations: 5.656 kB / 0.5383 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.571, allocations: 0.7031 kB / 0.5383 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.571, allocations: 5.125 kB / 0.5383 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.5725, allocations: 389.2 kB / 0.5387 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.5726, allocations: 84.69 kB / 0.5388 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.5726, allocations: 11.08 kB / 0.5388 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.5732, allocations: 50.56 kB / 0.5388 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.5733, allocations: 10.23 kB / 0.5388 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.5733, allocations: 3.625 kB / 0.5389 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.5735, allocations: 114.6 kB / 0.539 GB, free: 80.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5735, allocations: 0 / 0.539 GB, free: 80.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000448/0.5739, allocations: 41.69 kB / 0.539 GB, free: 80.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * 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 (7): * Single equations (assignments): 7 * 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.001637/0.5756, allocations: 0.9224 MB / 0.5399 GB, free: 79.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.5768, allocations: 224 kB / 0.5401 GB, free: 79.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.5768, allocations: 3.938 kB / 0.5401 GB, free: 79.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.5773, allocations: 89.25 kB / 0.5402 GB, free: 79.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.5777, allocations: 17.5 kB / 0.5402 GB, free: 79.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.5806, allocations: 0.9444 MB / 0.5411 GB, free: 79.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.5808, allocations: 0.7047 MB / 0.5418 GB, free: 78.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.581, allocations: 20.86 kB / 0.5418 GB, free: 78.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.5812, allocations: 36.06 kB / 0.5419 GB, free: 78.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5812, allocations: 0 / 0.5419 GB, free: 78.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.6071, allocations: 2.9 MB / 0.5447 GB, free: 77.55 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/0.6074, allocations: 161.1 kB / 0.5449 GB, free: 77.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/3.172, allocations: 0 / 0.5449 GB, free: 77.3 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat