Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001568, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 82.94 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004147, allocations: 12 kB / 327 MB, free: 120 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3499, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00198/0.352, allocations: 1.343 MB / 376 MB, free: 44.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.353, allocations: 0.4891 MB / 376.4 MB, free: 44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.725e-05/0.3531, allocations: 6.781 kB / 376.5 MB, free: 44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.3532, allocations: 7.922 kB / 376.5 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.3533, allocations: 26.27 kB / 376.5 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.3535, allocations: 37.06 kB / 376.5 MB, free: 43.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.3537, allocations: 73.91 kB / 376.6 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3539, allocations: 31.25 kB / 376.6 MB, free: 43.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.504e-05/0.3539, allocations: 39.09 kB / 376.7 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.3541, allocations: 41.89 kB / 376.7 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.3541, allocations: 4.312 kB / 376.7 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.3541, allocations: 3.281 kB / 376.7 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.3542, allocations: 15.36 kB / 376.7 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.3542, allocations: 39.36 kB / 376.8 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.3543, allocations: 60.05 kB / 376.8 MB, free: 43.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3543, allocations: 0 / 376.8 MB, free: 43.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3543, allocations: 4 kB / 376.8 MB, free: 43.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.3543, allocations: 1.281 kB / 376.8 MB, free: 43.71 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006038/0.355, allocations: 416.6 kB / 377.2 MB, free: 43.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.355, allocations: 8.719 kB / 377.2 MB, free: 43.3 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.3551, allocations: 46.23 kB / 377.3 MB, free: 43.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.3551, allocations: 13.25 kB / 377.3 MB, free: 43.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.3554, allocations: 211.9 kB / 377.5 MB, free: 43.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3554, allocations: 8.188 kB / 377.5 MB, free: 43.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.3555, allocations: 14.36 kB / 377.5 MB, free: 43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.3559, allocations: 138.8 kB / 377.7 MB, free: 42.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3559, allocations: 4.969 kB / 377.7 MB, free: 42.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3559, allocations: 5.188 kB / 377.7 MB, free: 42.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.3559, allocations: 2.25 kB / 377.7 MB, free: 42.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.3563, allocations: 72.7 kB / 377.8 MB, free: 42.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/0.3571, allocations: 0.5571 MB / 378.3 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.3578, allocations: 155.5 kB / 378.5 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.3578, allocations: 2.344 kB / 378.5 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.3578, allocations: 31.53 kB / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.3579, allocations: 0 / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001719/0.3596, allocations: 0.5624 MB / 379.1 MB, free: 41.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.3596, allocations: 52.5 kB / 379.1 MB, free: 41.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3598, allocations: 152.7 kB / 379.3 MB, free: 41.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3598, allocations: 29.7 kB / 379.3 MB, free: 41.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.3599, allocations: 178.4 kB / 379.5 MB, free: 41.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.36, allocations: 48.27 kB / 379.5 MB, free: 41.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.36, allocations: 0.625 kB / 379.5 MB, free: 41.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.36, allocations: 320.4 kB / 379.8 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.3603, allocations: 62.62 kB / 379.9 MB, free: 41.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.3606, allocations: 89.8 kB / 380 MB, free: 40.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.3609, allocations: 70.69 kB / 380 MB, free: 40.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3609, allocations: 1.094 kB / 380 MB, free: 40.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006489/0.3616, allocations: 192.5 kB / 380.2 MB, free: 40.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3616, allocations: 4.656 kB / 380.2 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3616, allocations: 1.5 kB / 380.2 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3616, allocations: 6.562 kB / 380.2 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.3619, allocations: 51.5 kB / 380.3 MB, free: 40.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.362, allocations: 2.562 kB / 380.3 MB, free: 40.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.3621, allocations: 17.33 kB / 380.3 MB, free: 40.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.3622, allocations: 6.75 kB / 380.3 MB, free: 40.81 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 9.958e-05/0.3623, allocations: 128.6 kB / 380.4 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.3623, allocations: 13.3 kB / 380.5 MB, free: 40.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.3624, allocations: 24.08 kB / 380.5 MB, free: 40.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3624, allocations: 1.094 kB / 380.5 MB, free: 40.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3624, allocations: 0 / 380.5 MB, free: 40.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3624, allocations: 1.062 kB / 380.5 MB, free: 40.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.3636, allocations: 0.52 MB / 381 MB, free: 40.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3636, allocations: 1.031 kB / 381 MB, free: 40.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.3639, allocations: 37.81 kB / 381 MB, free: 40.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.364, allocations: 5.031 kB / 381 MB, free: 40.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.364, allocations: 6.812 kB / 381.1 MB, free: 40.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.364, allocations: 1.312 kB / 381.1 MB, free: 40.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.364, allocations: 3.984 kB / 381.1 MB, free: 40.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008982/0.3649, allocations: 370 kB / 381.4 MB, free: 39.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.365, allocations: 91.45 kB / 381.5 MB, free: 39.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.365, allocations: 10.34 kB / 381.5 MB, free: 39.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.3653, allocations: 20.17 kB / 381.5 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.3653, allocations: 17.5 kB / 381.6 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3654, allocations: 2.344 kB / 381.6 MB, free: 39.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.562e-05/0.3655, allocations: 115.5 kB / 381.7 MB, free: 39.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3655, allocations: 0 / 381.7 MB, free: 39.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003613/0.3658, allocations: 21.44 kB / 381.7 MB, free: 39.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * 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 (12): * Single equations (assignments): 12 * 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.001166/0.367, allocations: 1.033 MB / 382.7 MB, free: 38.76 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000624/0.3677, allocations: 153.1 kB / 382.9 MB, free: 38.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3677, allocations: 5.406 kB / 382.9 MB, free: 38.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.368, allocations: 72.69 kB / 382.9 MB, free: 38.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.3685, allocations: 42.16 kB / 383 MB, free: 38.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.3709, allocations: 1.448 MB / 384.4 MB, free: 37.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.3712, allocations: 0.7145 MB / 385.2 MB, free: 36.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3713, allocations: 39.89 kB / 385.2 MB, free: 36.72 MB / 298.7 MB Notification: Performance of SimCode: time 1.522e-06/0.3713, allocations: 0 / 385.2 MB, free: 36.72 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.409/2.781, allocations: 2.194 MB / 387.4 MB, free: 35.53 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat