Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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.001479/0.001479, allocations: 105 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.001596/0.001596, allocations: 214.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.284/1.284, allocations: 230.5 MB / 256.4 MB, free: 8.438 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.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",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.001804/0.001804, allocations: 72 kB / 376.1 MB, free: 4.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2087, allocations: 53.33 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.00254/0.2113, allocations: 1.588 MB / 431 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008971/0.2122, allocations: 0.5493 MB / 431.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.2122, allocations: 0 / 431.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.2123, allocations: 11.86 kB / 431.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.2124, allocations: 15.94 kB / 431.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.2127, allocations: 67.12 kB / 431.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.793e-05/0.2128, allocations: 47.78 kB / 431.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.281e-05/0.2128, allocations: 16.17 kB / 431.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2129, allocations: 23.92 kB / 431.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.213, allocations: 23.86 kB / 431.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.213, allocations: 4 kB / 431.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.745e-05/0.213, allocations: 11.92 kB / 431.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.2131, allocations: 15.92 kB / 431.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.2131, allocations: 27.81 kB / 431.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.2133, allocations: 64.09 kB / 431.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2133, allocations: 0 / 431.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2133, allocations: 0 / 431.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2133, allocations: 0 / 431.9 MB, free: 4.988 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004362/0.2137, allocations: 383 kB / 432.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2137, allocations: 8.031 kB / 432.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.2138, allocations: 42.73 kB / 432.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.2139, allocations: 20.81 kB / 432.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.2141, allocations: 204.8 kB / 432.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2141, allocations: 12.06 kB / 432.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.2142, allocations: 0 / 432.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.2144, allocations: 109 kB / 432.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2144, allocations: 4 kB / 432.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.2144, allocations: 0 / 432.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2144, allocations: 3.984 kB / 432.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.536e-05/0.2145, allocations: 19.98 kB / 432.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.2148, allocations: 265.7 kB / 432.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.902e-05/0.2149, allocations: 37.22 kB / 432.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.2149, allocations: 25.77 kB / 433 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.2149, allocations: 0 / 433 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.215, allocations: 34.5 kB / 433 MB, free: 3.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.215, allocations: 0 / 433 MB, free: 3.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002348/0.2152, allocations: 73.66 kB / 433.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.2153, allocations: 81.11 kB / 433.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.2154, allocations: 150.6 kB / 433.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.2154, allocations: 25.7 kB / 433.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.2154, allocations: 88.14 kB / 433.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.2155, allocations: 7.953 kB / 433.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.2155, allocations: 17.66 kB / 433.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2156, allocations: 323 kB / 433.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.835e-05/0.2157, allocations: 4 kB / 433.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.2157, allocations: 21.7 kB / 433.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.546e-05/0.2158, allocations: 29.64 kB / 433.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2158, allocations: 4 kB / 433.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001125/0.2159, allocations: 57.7 kB / 433.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2159, allocations: 4 kB / 433.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2159, allocations: 0 / 433.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2159, allocations: 0 / 433.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.216, allocations: 11.98 kB / 433.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.216, allocations: 7.875 kB / 433.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.216, allocations: 4 kB / 433.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.216, allocations: 4 kB / 433.9 MB, free: 2.672 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.064e-05/0.2161, allocations: 121.9 kB / 434 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.2162, allocations: 41.66 kB / 434.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.2162, allocations: 3.875 kB / 434.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2162, allocations: 4 kB / 434.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2162, allocations: 3.938 kB / 434.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2162, allocations: 3.984 kB / 434.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.2164, allocations: 165.7 kB / 434.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2164, allocations: 7.938 kB / 434.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.2164, allocations: 4 kB / 434.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2164, allocations: 4.031 kB / 434.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2164, allocations: 0 / 434.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2164, allocations: 3.984 kB / 434.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.2164, allocations: 11.88 kB / 434.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.2166, allocations: 156.3 kB / 434.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.2167, allocations: 93.05 kB / 434.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2167, allocations: 8.031 kB / 434.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.2167, allocations: 0 / 434.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.2168, allocations: 3.938 kB / 434.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.2168, allocations: 7.984 kB / 434.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.225e-05/0.2168, allocations: 106.8 kB / 434.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2168, allocations: 0 / 434.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002072/0.217, allocations: 8 kB / 434.6 MB, free: 1.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (2): * Single equations (assignments): 2 * 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.0004215/0.2175, allocations: 0.6976 MB / 435.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.2176, allocations: 19.98 kB / 435.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2176, allocations: 0 / 435.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.2176, allocations: 16.08 kB / 435.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.2179, allocations: 23.95 kB / 435.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.2192, allocations: 1.331 MB / 436.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.2195, allocations: 0.6924 MB / 437.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.137e-05/0.2195, allocations: 7.938 kB / 437.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.2195, allocations: 11.44 kB / 437.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2195, allocations: 0 / 437.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.2439, allocations: 1.612 MB / 439.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.709/6.953, allocations: 7.812 kB / 439.1 MB, free: 13.35 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.013194437000493]