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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 115.4 kB / 17.74 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 182.9 kB / 20.68 MB, free: 2.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 246.4 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 47.92 kB / 357.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1052, allocations: 49.44 MB / 406.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00305/0.1083, allocations: 1.674 MB / 408.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009563/0.1093, allocations: 490.8 kB / 409.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1094, allocations: 3.938 kB / 409.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.1095, allocations: 11.86 kB / 409.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.1097, allocations: 31.72 kB / 409.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.1099, allocations: 43.95 kB / 409.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.1101, allocations: 123.6 kB / 409.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1102, allocations: 25.31 kB / 409.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.854e-05/0.1103, allocations: 47.73 kB / 409.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.858e-05/0.1104, allocations: 43.72 kB / 409.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1104, allocations: 8 kB / 409.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.1105, allocations: 8 kB / 409.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.436e-05/0.1105, allocations: 19.92 kB / 409.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.1106, allocations: 59.66 kB / 409.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.1108, allocations: 95.44 kB / 409.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1108, allocations: 0 / 409.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1108, allocations: 0 / 409.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1108, allocations: 0 / 409.6 MB, free: 4.719 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.0006597/0.1115, allocations: 426.9 kB / 410 MB, free: 4.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1115, allocations: 12.03 kB / 410 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.1116, allocations: 38.75 kB / 410.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.1116, allocations: 20.84 kB / 410.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.112, allocations: 220.2 kB / 410.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.112, allocations: 8 kB / 410.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.112, allocations: 8 kB / 410.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.1124, allocations: 133.4 kB / 410.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1124, allocations: 0 / 410.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1124, allocations: 4 kB / 410.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1124, allocations: 4 kB / 410.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.1127, allocations: 67.83 kB / 410.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007895/0.1135, allocations: 0.5516 MB / 411.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.1138, allocations: 126.4 kB / 411.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.114, allocations: 64.81 kB / 411.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.114, allocations: 0 / 411.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1141, allocations: 34.5 kB / 411.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.1141, allocations: 0 / 411.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001194/0.1153, allocations: 0.5136 MB / 411.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1153, allocations: 55.41 kB / 411.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1155, allocations: 152.5 kB / 412 MB, free: 2.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1155, allocations: 33.7 kB / 412 MB, free: 2.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.1156, allocations: 112 kB / 412.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.1156, allocations: 43.64 kB / 412.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.1157, allocations: 33.7 kB / 412.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1158, allocations: 322.8 kB / 412.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.116, allocations: 51.95 kB / 412.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.1162, allocations: 83.45 kB / 412.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.1165, allocations: 138.7 kB / 412.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1166, allocations: 0 / 412.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004101/0.117, allocations: 189.3 kB / 413 MB, free: 1.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.117, allocations: 4 kB / 413 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.117, allocations: 4 kB / 413 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.117, allocations: 5.031 kB / 413 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1172, allocations: 31.98 kB / 413 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1172, allocations: 3.984 kB / 413 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.1173, allocations: 19.98 kB / 413.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1173, allocations: 4 kB / 413.1 MB, free: 0.9375 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 0.0001128/0.1175, allocations: 125.8 kB / 413.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.1175, allocations: 11.89 kB / 413.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.1175, allocations: 20.72 kB / 413.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1176, allocations: 3.938 kB / 413.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1176, allocations: 0 / 413.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1176, allocations: 7.922 kB / 413.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008505/0.1184, allocations: 0.4959 MB / 413.7 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1185, allocations: 0 / 413.7 MB, free: 204 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.1186, allocations: 31.92 kB / 413.7 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.1186, allocations: 4 kB / 413.8 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.1187, allocations: 7.984 kB / 413.8 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1187, allocations: 4 kB / 413.8 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1187, allocations: 0 / 413.8 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.1193, allocations: 313.2 kB / 414.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.1194, allocations: 89.06 kB / 414.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1194, allocations: 4 kB / 414.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1195, allocations: 15.97 kB / 414.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.1196, allocations: 19.86 kB / 414.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.1196, allocations: 4 kB / 414.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.543e-05/0.1197, allocations: 120.9 kB / 414.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1197, allocations: 0 / 414.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1199, allocations: 20 kB / 414.3 MB, free: 15.54 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.0009438/0.1209, allocations: 0.8546 MB / 415.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.1213, allocations: 119.9 kB / 415.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.1213, allocations: 0 / 415.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.1215, allocations: 72.14 kB / 415.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.1219, allocations: 50.31 kB / 415.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.1246, allocations: 1.934 MB / 417.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1249, allocations: 0.7045 MB / 418.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.125, allocations: 21.42 kB / 418.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.1251, allocations: 39.42 kB / 418.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1251, allocations: 0 / 418.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.1537, allocations: 3.371 MB / 421.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/7.99, allocations: 15.78 kB / 421.5 MB, free: 8.289 MB / 350.1 MB " [Timeout remaining time 652] (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/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 --stepSize=0.001 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.375492015155032] Failed to read output from testmodel.py, exit status != 0: ['time', 'limit_a.y', 'limit_v.y', 'positionSmoothed.y'] 8.057866062037647 8.263387189 8.150609526 Calling exit ...