Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007802/0.0007805, allocations: 88.59 kB / 16.31 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007559/0.0007559, allocations: 183.1 kB / 17.21 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 241.2 MB, free: 5.418 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002413/0.0002415, allocations: 7.188 kB / 300.9 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1029, allocations: 50.42 MB / 351.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001759/0.1047, allocations: 1.357 MB / 352.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006714/0.1054, allocations: 463.1 kB / 353.1 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.1055, allocations: 0 / 353.1 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.622e-05/0.1056, allocations: 7.922 kB / 353.1 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.1057, allocations: 27.78 kB / 353.2 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.1058, allocations: 31.97 kB / 353.2 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1059, allocations: 103.6 kB / 353.3 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.475e-05/0.106, allocations: 29.09 kB / 353.3 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.1061, allocations: 31.8 kB / 353.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.1062, allocations: 35.78 kB / 353.4 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1062, allocations: 4 kB / 353.4 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.1062, allocations: 4 kB / 353.4 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.1062, allocations: 19.86 kB / 353.4 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.1063, allocations: 37.64 kB / 353.5 MB, free: 9.426 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.029e-05/0.1064, allocations: 59.88 kB / 353.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1064, allocations: 4 kB / 353.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1064, allocations: 0 / 353.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1064, allocations: 0 / 353.5 MB, free: 9.363 MB / 286.1 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.0004803/0.1069, allocations: 421.3 kB / 353.9 MB, free: 8.906 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1069, allocations: 12.03 kB / 353.9 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.107, allocations: 42.52 kB / 354 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.107, allocations: 15.81 kB / 354 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1072, allocations: 212.8 kB / 354.2 MB, free: 8.582 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1072, allocations: 4 kB / 354.2 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1073, allocations: 12 kB / 354.2 MB, free: 8.566 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.1075, allocations: 148 kB / 354.4 MB, free: 8.406 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1075, allocations: 7.969 kB / 354.4 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1076, allocations: 0 / 354.4 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1076, allocations: 4 kB / 354.4 MB, free: 8.395 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.1078, allocations: 75.95 kB / 354.5 MB, free: 8.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.1084, allocations: 0.5596 MB / 355 MB, free: 7.703 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.1087, allocations: 154.4 kB / 355.2 MB, free: 7.543 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1089, allocations: 72.75 kB / 355.2 MB, free: 7.469 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.1089, allocations: 4 kB / 355.2 MB, free: 7.465 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.1089, allocations: 30.56 kB / 355.3 MB, free: 7.426 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1089, allocations: 0 / 355.3 MB, free: 7.426 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001046/0.11, allocations: 0.5584 MB / 355.8 MB, free: 6.816 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.11, allocations: 55.36 kB / 355.9 MB, free: 6.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.1101, allocations: 157 kB / 356 MB, free: 6.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1102, allocations: 25.7 kB / 356.1 MB, free: 6.559 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.1102, allocations: 119.8 kB / 356.2 MB, free: 6.438 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.1103, allocations: 39.36 kB / 356.2 MB, free: 6.398 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.1103, allocations: 4 kB / 356.2 MB, free: 6.395 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1104, allocations: 326.8 kB / 356.5 MB, free: 6.066 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1105, allocations: 63.89 kB / 356.6 MB, free: 6.004 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.1107, allocations: 93.58 kB / 356.7 MB, free: 5.902 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1109, allocations: 63.97 kB / 356.8 MB, free: 5.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1109, allocations: 0 / 356.8 MB, free: 5.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003505/0.1112, allocations: 197.4 kB / 356.9 MB, free: 5.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1113, allocations: 11.98 kB / 357 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1113, allocations: 3.938 kB / 357 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1113, allocations: 4 kB / 357 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.1114, allocations: 43.98 kB / 357 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1115, allocations: 3.953 kB / 357 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.1115, allocations: 15.98 kB / 357 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1115, allocations: 11.98 kB / 357 MB, free: 5.547 MB / 286.1 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 0.0001062/0.1117, allocations: 125.7 kB / 357.2 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.1117, allocations: 8.844 kB / 357.2 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.1117, allocations: 20.72 kB / 357.2 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1117, allocations: 0 / 357.2 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1118, allocations: 0 / 357.2 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1118, allocations: 3.953 kB / 357.2 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.1125, allocations: 0.5272 MB / 357.7 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1125, allocations: 0 / 357.7 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.1126, allocations: 35.98 kB / 357.8 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1126, allocations: 4 kB / 357.8 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1127, allocations: 3.953 kB / 357.8 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1127, allocations: 0 / 357.8 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1127, allocations: 12.05 kB / 357.8 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.1132, allocations: 345 kB / 358.1 MB, free: 4.375 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.1132, allocations: 92.92 kB / 358.2 MB, free: 4.266 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1132, allocations: 4 kB / 358.2 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1133, allocations: 23.98 kB / 358.2 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.1134, allocations: 7.984 kB / 358.2 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1134, allocations: 8 kB / 358.3 MB, free: 4.223 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.514e-05/0.1135, allocations: 115.2 kB / 358.4 MB, free: 4.109 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1135, allocations: 4 kB / 358.4 MB, free: 4.105 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1137, allocations: 20 kB / 358.4 MB, free: 4.086 MB / 286.1 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.0007031/0.1144, allocations: 0.8778 MB / 359.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.1148, allocations: 148 kB / 359.4 MB, free: 3.031 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1148, allocations: 0 / 359.4 MB, free: 3.031 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.1149, allocations: 76.08 kB / 359.5 MB, free: 2.957 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1153, allocations: 44.11 kB / 359.5 MB, free: 2.914 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.1169, allocations: 0.9546 MB / 360.5 MB, free: 1.891 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.1171, allocations: 0.7165 MB / 361.2 MB, free: 1.148 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.081e-05/0.1172, allocations: 13.42 kB / 361.2 MB, free: 1.137 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.1172, allocations: 39.38 kB / 361.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1172, allocations: 0 / 361.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.1312, allocations: 2.879 MB / 364.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.1315, allocations: 172.5 kB / 364.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.804, allocations: 0 / 364.3 MB, free: 14.11 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat