Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01003/0.01004, allocations: 166.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.59/1.59, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002675/0.002675, allocations: 107.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4941/0.4941, allocations: 38.06 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007613/0.0007614, allocations: 16 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1257, allocations: 48.71 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/0.5306, allocations: 75.76 MB / 487.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.5308, allocations: 63.34 kB / 487.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01744/0.5483, allocations: 3.733 MB / 491.2 MB, free: 8.363 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5483, allocations: 0 / 491.2 MB, free: 8.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.5484, allocations: 0 / 491.2 MB, free: 8.363 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008696/0.5492, allocations: 484.5 kB / 491.7 MB, free: 7.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5493, allocations: 8.031 kB / 491.7 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/0.5494, allocations: 42.36 kB / 491.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.5494, allocations: 15.91 kB / 491.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000657/0.5501, allocations: 253.6 kB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-05/0.5502, allocations: 88.45 kB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.5503, allocations: 15.88 kB / 492.1 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/0.5508, allocations: 168.3 kB / 492.3 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.5509, allocations: 4 kB / 492.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.5509, allocations: 7.938 kB / 492.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5509, allocations: 0 / 492.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006635/0.5516, allocations: 152 kB / 492.5 MB, free: 7.105 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.553, allocations: 491.6 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008463/0.5539, allocations: 193.6 kB / 493.1 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.5539, allocations: 11.97 kB / 493.1 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.554, allocations: 34.31 kB / 493.2 MB, free: 6.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.505e-06/0.554, allocations: 0 / 493.2 MB, free: 6.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.001123/0.5551, allocations: 239.9 kB / 493.4 MB, free: 6.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.5552, allocations: 110.8 kB / 493.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.5554, allocations: 155 kB / 493.7 MB, free: 5.906 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.5554, allocations: 29.7 kB / 493.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.5555, allocations: 111.4 kB / 493.8 MB, free: 5.773 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.5555, allocations: 27.58 kB / 493.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.5555, allocations: 3.875 kB / 493.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.191e-05/0.5556, allocations: 322.8 kB / 494.1 MB, free: 5.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.5558, allocations: 43.66 kB / 494.2 MB, free: 5.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.556, allocations: 71.58 kB / 494.3 MB, free: 5.316 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.5562, allocations: 44.08 kB / 494.3 MB, free: 5.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5563, allocations: 4 kB / 494.3 MB, free: 5.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004694/0.5567, allocations: 136.8 kB / 494.4 MB, free: 5.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5568, allocations: 11.89 kB / 494.4 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5568, allocations: 4 kB / 494.5 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.5568, allocations: 0 / 494.5 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.5572, allocations: 48.02 kB / 494.5 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5572, allocations: 7.203 kB / 494.5 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.5574, allocations: 15.89 kB / 494.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.5574, allocations: 4.5 kB / 494.5 MB, free: 5.074 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0001128/0.5575, allocations: 122.4 kB / 494.6 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.5576, allocations: 7.906 kB / 494.7 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.5576, allocations: 21.28 kB / 494.7 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5576, allocations: 4 kB / 494.7 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5577, allocations: 0 / 494.7 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5577, allocations: 4.25 kB / 494.7 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.5579, allocations: 224.5 kB / 494.9 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5579, allocations: 4 kB / 494.9 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.5583, allocations: 55.89 kB / 495 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5584, allocations: 0 / 495 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.5584, allocations: 4 kB / 495 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.5584, allocations: 3.953 kB / 495 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5584, allocations: 0 / 495 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.5594, allocations: 345.6 kB / 495.3 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.5596, allocations: 101 kB / 495.4 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.5596, allocations: 3.938 kB / 495.4 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004664/0.5601, allocations: 52.02 kB / 495.5 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.5601, allocations: 3.953 kB / 495.5 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5602, allocations: 15.92 kB / 495.5 MB, free: 4.102 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.991e-05/0.5603, allocations: 123.2 kB / 495.6 MB, free: 3.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5603, allocations: 3.938 kB / 495.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003447/0.5606, allocations: 23.88 kB / 495.6 MB, free: 3.973 MB / 330.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 (6): * Single equations (assignments): 6 * 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.001221/0.5619, allocations: 0.8716 MB / 496.5 MB, free: 3.109 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005608/0.5624, allocations: 119.3 kB / 496.6 MB, free: 3.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5625, allocations: 8.125 kB / 496.6 MB, free: 3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.5628, allocations: 67.31 kB / 496.7 MB, free: 2.941 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.5631, allocations: 24.02 kB / 496.7 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.565, allocations: 1.125 MB / 497.8 MB, free: 1.836 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.5652, allocations: 0.7002 MB / 498.5 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.5653, allocations: 20.53 kB / 498.6 MB, free: 1.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.5654, allocations: 35.11 kB / 498.6 MB, free: 1.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5654, allocations: 0 / 498.6 MB, free: 1.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.5876, allocations: 2.769 MB / 0.4896 GB, free: 14.39 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000352/0.588, allocations: 162.9 kB / 0.4898 GB, free: 14.15 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/3.016, allocations: 0 / 0.4898 GB, free: 14.15 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat