Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_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.0009156/0.0009156, allocations: 98.58 kB / 16.94 MB, free: 5.98 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.001077/0.001077, allocations: 177.9 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004187, allocations: 12.78 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08732/0.08775, allocations: 47.58 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001819/0.08962, allocations: 1.345 MB / 329.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007822/0.09042, allocations: 496.1 kB / 330.2 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.0905, allocations: 4 kB / 330.3 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.09054, allocations: 7.875 kB / 330.3 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.09065, allocations: 23.95 kB / 330.3 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.0908, allocations: 39.91 kB / 330.3 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.09098, allocations: 79.77 kB / 330.4 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.0911, allocations: 28.83 kB / 330.4 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.09117, allocations: 35.84 kB / 330.5 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.415e-05/0.09125, allocations: 35.78 kB / 330.5 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.09127, allocations: 8 kB / 330.5 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.602e-05/0.09129, allocations: 4 kB / 330.5 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.09132, allocations: 19.91 kB / 330.5 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.09136, allocations: 37.64 kB / 330.6 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 8.877e-05/0.09145, allocations: 72.03 kB / 330.6 MB, free: 1.766 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.09146, allocations: 0 / 330.6 MB, free: 1.766 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09147, allocations: 0 / 330.6 MB, free: 1.766 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.09148, allocations: 0 / 330.6 MB, free: 1.766 MB / 270.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.0005607/0.09204, allocations: 418.9 kB / 331 MB, free: 1.309 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.09209, allocations: 12.02 kB / 331.1 MB, free: 1.297 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.09214, allocations: 38.56 kB / 331.1 MB, free: 1.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.09217, allocations: 7.906 kB / 331.1 MB, free: 1.242 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.09241, allocations: 211.3 kB / 331.3 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.09244, allocations: 8 kB / 331.3 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.09247, allocations: 11.91 kB / 331.3 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.09276, allocations: 144.2 kB / 331.5 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.09278, allocations: 0 / 331.5 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.09279, allocations: 0 / 331.5 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.0928, allocations: 4 kB / 331.5 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.09303, allocations: 83.88 kB / 331.6 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.09371, allocations: 0.5556 MB / 332.1 MB, free: 124 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.09409, allocations: 162.4 kB / 332.3 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.09412, allocations: 4 kB / 332.3 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.09414, allocations: 30.56 kB / 332.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 2.856e-06/0.09415, allocations: 0 / 332.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001137/0.09529, allocations: 0.561 MB / 332.9 MB, free: 15.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.09534, allocations: 55.41 kB / 332.9 MB, free: 15.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.09548, allocations: 154.2 kB / 333.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.09551, allocations: 29.89 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.09559, allocations: 108 kB / 333.2 MB, free: 14.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.09563, allocations: 47.3 kB / 333.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.09564, allocations: 4 kB / 333.3 MB, free: 14.88 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.09575, allocations: 322.8 kB / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.09591, allocations: 63.95 kB / 333.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.09623, allocations: 91.39 kB / 333.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.09643, allocations: 67.91 kB / 333.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.09645, allocations: 4 kB / 333.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003746/0.09683, allocations: 193.4 kB / 334 MB, free: 14.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.09685, allocations: 4 kB / 334 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.09686, allocations: 4 kB / 334 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.09688, allocations: 3.984 kB / 334 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.09705, allocations: 39.92 kB / 334 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.09706, allocations: 4 kB / 334 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.504e-05/0.09715, allocations: 28.05 kB / 334.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.09717, allocations: 11.92 kB / 334.1 MB, free: 14.03 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 9.365e-05/0.09727, allocations: 121.8 kB / 334.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.09731, allocations: 15.86 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.09735, allocations: 8.719 kB / 334.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.09735, allocations: 4 kB / 334.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.09736, allocations: 4 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.09737, allocations: 0 / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007615/0.09814, allocations: 0.5233 MB / 334.7 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.09816, allocations: 7.984 kB / 334.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.09832, allocations: 35.92 kB / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.09834, allocations: 0 / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.09835, allocations: 4 kB / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.09836, allocations: 0 / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.09837, allocations: 0 / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.09898, allocations: 380.3 kB / 335.2 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.09904, allocations: 93.02 kB / 335.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.09907, allocations: 4 kB / 335.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.09918, allocations: 16.03 kB / 335.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.09924, allocations: 15.94 kB / 335.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.09925, allocations: 4 kB / 335.3 MB, free: 12.68 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.5e-05/0.09934, allocations: 120 kB / 335.4 MB, free: 12.56 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09935, allocations: 3.938 kB / 335.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.09959, allocations: 24 kB / 335.4 MB, free: 12.53 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.0009073/0.1005, allocations: 1.042 MB / 336.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000364/0.1009, allocations: 151.8 kB / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1009, allocations: 0 / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.1011, allocations: 76.2 kB / 336.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1014, allocations: 31.97 kB / 336.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.1032, allocations: 1.415 MB / 338.2 MB, free: 9.719 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1034, allocations: 0.7126 MB / 338.9 MB, free: 8.98 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.229e-05/0.1035, allocations: 21.42 kB / 338.9 MB, free: 8.961 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.1036, allocations: 39.42 kB / 338.9 MB, free: 8.922 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1036, allocations: 0 / 338.9 MB, free: 8.922 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.1163, allocations: 2.854 MB / 341.8 MB, free: 6.078 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.1166, allocations: 175.6 kB / 341.9 MB, free: 5.828 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.776, allocations: 4 kB / 342 MB, free: 5.824 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat