Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001245/0.001245, allocations: 105.8 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 217.6 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.269/1.269, allocations: 230.5 MB / 256.4 MB, free: 8.426 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 67.83 kB / 376.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2025, allocations: 53.31 MB / 429.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002592/0.2051, allocations: 1.702 MB / 431.1 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000814/0.206, allocations: 0.5182 MB / 431.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.206, allocations: 4 kB / 431.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.591e-05/0.2061, allocations: 15.81 kB / 431.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.2062, allocations: 27.78 kB / 431.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.2063, allocations: 51.86 kB / 431.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.2065, allocations: 111.6 kB / 431.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.2066, allocations: 17.12 kB / 431.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.019e-05/0.2067, allocations: 39.84 kB / 431.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.2067, allocations: 59.64 kB / 431.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.2068, allocations: 11.94 kB / 431.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.747e-05/0.2068, allocations: 8 kB / 432 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.2068, allocations: 19.92 kB / 432 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.2069, allocations: 43.67 kB / 432 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.207, allocations: 99.88 kB / 432.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.207, allocations: 0 / 432.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.207, allocations: 0 / 432.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.207, allocations: 0 / 432.1 MB, free: 4.707 MB / 334.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.0005558/0.2076, allocations: 434.9 kB / 432.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2076, allocations: 8.031 kB / 432.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.2077, allocations: 42.73 kB / 432.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.2077, allocations: 12.84 kB / 432.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.2079, allocations: 216.7 kB / 432.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2079, allocations: 4.375 kB / 432.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.208, allocations: 19.89 kB / 432.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.2082, allocations: 132.1 kB / 433 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2083, allocations: 0 / 433 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2083, allocations: 4 kB / 433 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2083, allocations: 0 / 433 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.2085, allocations: 71.94 kB / 433 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.2091, allocations: 0.5477 MB / 433.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.2094, allocations: 130.4 kB / 433.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.2096, allocations: 56.81 kB / 433.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.2096, allocations: 0 / 433.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2096, allocations: 34.56 kB / 433.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.21e-07/0.2096, allocations: 4 kB / 433.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001049/0.2107, allocations: 0.514 MB / 434.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.2107, allocations: 51.88 kB / 434.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2108, allocations: 154.2 kB / 434.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2109, allocations: 25.7 kB / 434.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.2109, allocations: 112 kB / 434.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.211, allocations: 51.56 kB / 434.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.211, allocations: 33.66 kB / 434.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2111, allocations: 318.8 kB / 435.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.2113, allocations: 63.89 kB / 435.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.2114, allocations: 79.45 kB / 435.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.2117, allocations: 135.3 kB / 435.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2117, allocations: 0 / 435.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003586/0.2121, allocations: 177.5 kB / 435.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2121, allocations: 11.94 kB / 435.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2121, allocations: 0 / 435.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2121, allocations: 4 kB / 435.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2123, allocations: 43.91 kB / 435.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2123, allocations: 3.984 kB / 435.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.405e-05/0.2124, allocations: 11.98 kB / 435.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.2124, allocations: 4.062 kB / 435.6 MB, free: 0.9258 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.258e-05/0.2125, allocations: 129.8 kB / 435.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.2125, allocations: 19.84 kB / 435.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.2125, allocations: 16.7 kB / 435.7 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2125, allocations: 4 kB / 435.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2125, allocations: 0 / 435.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2125, allocations: 0 / 435.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007197/0.2133, allocations: 499.9 kB / 436.2 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2133, allocations: 4 kB / 436.2 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.2134, allocations: 35.91 kB / 436.3 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2134, allocations: 0 / 436.3 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2134, allocations: 12.06 kB / 436.3 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2134, allocations: 0 / 436.3 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2134, allocations: 0 / 436.3 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.214, allocations: 320.9 kB / 436.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.214, allocations: 93.05 kB / 436.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.214, allocations: 4 kB / 436.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2142, allocations: 15.98 kB / 436.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.2142, allocations: 7.984 kB / 436.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.2142, allocations: 4 kB / 436.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.212e-05/0.2143, allocations: 122.6 kB / 436.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2143, allocations: 4.094 kB / 436.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.2145, allocations: 27.88 kB / 436.9 MB, free: 15.52 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007668/0.2153, allocations: 0.8351 MB / 437.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.2156, allocations: 123.1 kB / 437.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2156, allocations: 4.062 kB / 437.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.2158, allocations: 59.91 kB / 437.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.2161, allocations: 42.83 kB / 437.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.2184, allocations: 1.945 MB / 439.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.2187, allocations: 0.7123 MB / 440.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.517e-05/0.2187, allocations: 9.422 kB / 440.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.2188, allocations: 39.42 kB / 440.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2188, allocations: 0 / 440.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.2441, allocations: 3.364 MB / 444 MB, free: 8.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/7.19, allocations: 6.578 kB / 444 MB, free: 8.328 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.2357608300008]