Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009207/0.0009207, allocations: 96.77 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008691/0.0008692, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.3 MB / 246 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002352/0.0002353, allocations: 4 kB / 306.8 MB, free: 1.527 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1074, allocations: 51.49 MB / 358.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001884/0.1093, allocations: 1.367 MB / 359.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.1102, allocations: 491.2 kB / 360.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.667e-05/0.1103, allocations: 3.938 kB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.958e-05/0.1104, allocations: 7.922 kB / 360.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7e-05/0.1105, allocations: 19.86 kB / 360.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.1107, allocations: 35.95 kB / 360.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1108, allocations: 107.6 kB / 360.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1109, allocations: 29.09 kB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.544e-05/0.111, allocations: 35.8 kB / 360.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.1111, allocations: 35.78 kB / 360.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.1111, allocations: 4 kB / 360.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.1111, allocations: 7.938 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.1112, allocations: 15.92 kB / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.1112, allocations: 37.64 kB / 360.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.1113, allocations: 68.03 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1113, allocations: 0 / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1114, allocations: 4 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1114, allocations: 0 / 360.5 MB, free: 11.76 MB / 302.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.0005715/0.1119, allocations: 426.3 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.112, allocations: 8.031 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.112, allocations: 38.56 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.1121, allocations: 11.91 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1123, allocations: 212.6 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1124, allocations: 7.953 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.1124, allocations: 15.91 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.1127, allocations: 140.2 kB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1127, allocations: 0 / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1127, allocations: 0 / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1128, allocations: 4 kB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.113, allocations: 83.88 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.1137, allocations: 0.5554 MB / 362 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.114, allocations: 154.4 kB / 362.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.1142, allocations: 72.81 kB / 362.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1142, allocations: 7.938 kB / 362.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1142, allocations: 30.56 kB / 362.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.1143, allocations: 0 / 362.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001082/0.1153, allocations: 0.5649 MB / 362.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1154, allocations: 51.41 kB / 362.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1155, allocations: 153.7 kB / 363.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1155, allocations: 26.08 kB / 363.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.1156, allocations: 108 kB / 363.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.1156, allocations: 55.28 kB / 363.2 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.1157, allocations: 0 / 363.2 MB, free: 8.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1158, allocations: 334.8 kB / 363.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.116, allocations: 59.95 kB / 363.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.1161, allocations: 98.05 kB / 363.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.1164, allocations: 67.91 kB / 363.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1164, allocations: 0 / 363.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004349/0.1168, allocations: 197.4 kB / 364 MB, free: 8.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1168, allocations: 8 kB / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1169, allocations: 0 / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1169, allocations: 0 / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.117, allocations: 47.91 kB / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1171, allocations: 0 / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.883e-05/0.1171, allocations: 24.05 kB / 364.1 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1172, allocations: 4 kB / 364.1 MB, free: 7.953 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.0001001/0.1173, allocations: 117.8 kB / 364.2 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.1173, allocations: 19.84 kB / 364.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.1174, allocations: 16.72 kB / 364.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1174, allocations: 0 / 364.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1174, allocations: 8 kB / 364.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1174, allocations: 0 / 364.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007598/0.1181, allocations: 0.5194 MB / 364.7 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1182, allocations: 4 kB / 364.7 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1183, allocations: 35.97 kB / 364.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1183, allocations: 0 / 364.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1184, allocations: 8 kB / 364.8 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1184, allocations: 0 / 364.8 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1184, allocations: 0 / 364.8 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/0.119, allocations: 360.8 kB / 365.1 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.119, allocations: 89.02 kB / 365.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1191, allocations: 4 kB / 365.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1192, allocations: 20.03 kB / 365.2 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.1193, allocations: 11.98 kB / 365.3 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1193, allocations: 4 kB / 365.3 MB, free: 6.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.24e-05/0.1194, allocations: 115.2 kB / 365.4 MB, free: 6.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1194, allocations: 0 / 365.4 MB, free: 6.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1196, allocations: 20.09 kB / 365.4 MB, free: 6.5 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.0009078/0.1206, allocations: 0.8817 MB / 366.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.1209, allocations: 148 kB / 366.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1209, allocations: 3.938 kB / 366.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.1211, allocations: 76.08 kB / 366.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.1215, allocations: 39.72 kB / 366.5 MB, free: 5.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.1233, allocations: 0.9676 MB / 367.5 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.1236, allocations: 0.7126 MB / 368.2 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.121e-05/0.1237, allocations: 17.59 kB / 368.2 MB, free: 3.531 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.1238, allocations: 39.38 kB / 368.3 MB, free: 3.492 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1238, allocations: 0 / 368.3 MB, free: 3.492 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.1382, allocations: 2.883 MB / 371.2 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.1385, allocations: 168.3 kB / 371.3 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.006, allocations: 4 kB / 371.3 MB, free: 0.5 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat