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.001107/0.001107, allocations: 97.77 kB / 16.3 MB, free: 5.57 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.001221/0.00122, allocations: 183.9 kB / 17.2 MB, free: 5.504 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.391/1.391, allocations: 223.2 MB / 241.1 MB, free: 372 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 9.719 kB / 300.8 MB, free: 6.363 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1073, allocations: 50.42 MB / 351.2 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001806/0.1091, allocations: 1.343 MB / 352.6 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.1099, allocations: 471.2 kB / 353 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1101, allocations: 0 / 353 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.1101, allocations: 3.938 kB / 353 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.1103, allocations: 23.91 kB / 353.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.1104, allocations: 31.95 kB / 353.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1106, allocations: 79.78 kB / 353.2 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1107, allocations: 25.09 kB / 353.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.016e-05/0.1108, allocations: 31.86 kB / 353.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.459e-05/0.1109, allocations: 43.77 kB / 353.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1109, allocations: 4 kB / 353.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.1109, allocations: 0 / 353.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.1109, allocations: 15.92 kB / 353.3 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.111, allocations: 45.64 kB / 353.3 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.1111, allocations: 56.09 kB / 353.4 MB, free: 1.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.1111, allocations: 0 / 353.4 MB, free: 1.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1111, allocations: 4 kB / 353.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.217e-06/0.1111, allocations: 4 kB / 353.4 MB, free: 1.742 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.0005326/0.1116, allocations: 418.8 kB / 353.8 MB, free: 1.285 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1117, allocations: 11.97 kB / 353.8 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.1117, allocations: 42.52 kB / 353.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.1118, allocations: 19.91 kB / 353.9 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1121, allocations: 203.4 kB / 354.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1121, allocations: 11.94 kB / 354.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1121, allocations: 15.84 kB / 354.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.1124, allocations: 141 kB / 354.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1125, allocations: 0 / 354.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1125, allocations: 4 kB / 354.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1125, allocations: 4 kB / 354.2 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1127, allocations: 83.88 kB / 354.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007106/0.1134, allocations: 0.5593 MB / 354.9 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.1138, allocations: 146.6 kB / 355 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.1138, allocations: 4.125 kB / 355 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1139, allocations: 34.56 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.1139, allocations: 0 / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001201/0.1151, allocations: 0.5525 MB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.1151, allocations: 59.36 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1153, allocations: 146.2 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1153, allocations: 29.7 kB / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.1154, allocations: 115.8 kB / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.1154, allocations: 47.36 kB / 356 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/0.1154, allocations: 0 / 356 MB, free: 14.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1155, allocations: 331.7 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1157, allocations: 59.95 kB / 356.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.1159, allocations: 87.39 kB / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.116, allocations: 67.97 kB / 356.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.116, allocations: 0 / 356.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004007/0.1164, allocations: 201.3 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1165, allocations: 4 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1165, allocations: 3.984 kB / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1165, allocations: 7.984 kB / 356.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.1167, allocations: 40.08 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1167, allocations: 3.938 kB / 356.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.69e-05/0.1168, allocations: 23.94 kB / 356.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1168, allocations: 4 kB / 356.8 MB, free: 14 MB / 302.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.0001092/0.1169, allocations: 133.8 kB / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.117, allocations: 7.906 kB / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.117, allocations: 16.72 kB / 357 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.117, allocations: 0 / 357 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.117, allocations: 0 / 357 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.117, allocations: 0 / 357 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007839/0.1178, allocations: 0.5271 MB / 357.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1178, allocations: 0 / 357.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.118, allocations: 39.92 kB / 357.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.118, allocations: 4 kB / 357.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.118, allocations: 12.02 kB / 357.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.1181, allocations: 0 / 357.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1181, allocations: 4 kB / 357.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.1187, allocations: 376.3 kB / 357.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.1187, allocations: 85.02 kB / 358 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1188, allocations: 0 / 358 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1189, allocations: 20.03 kB / 358 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.1189, allocations: 15.92 kB / 358 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.1189, allocations: 4 kB / 358.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.628e-05/0.119, allocations: 117.5 kB / 358.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.119, allocations: 0 / 358.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.1193, allocations: 20 kB / 358.2 MB, free: 12.52 MB / 302.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.0009449/0.1203, allocations: 1.049 MB / 359.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003867/0.1207, allocations: 144 kB / 359.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1207, allocations: 0 / 359.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.1209, allocations: 83.92 kB / 359.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1212, allocations: 39.08 kB / 359.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.123, allocations: 1.403 MB / 360.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1233, allocations: 0.7165 MB / 361.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.1233, allocations: 9.422 kB / 361.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.1234, allocations: 39.42 kB / 361.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1234, allocations: 0 / 361.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.1374, allocations: 2.872 MB / 364.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.1376, allocations: 167.6 kB / 364.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.879, allocations: 3.938 kB / 364.7 MB, free: 5.918 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