Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.001842/0.001842, allocations: 105 kB / 19.74 MB, free: 2.453 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.001546/0.001546, allocations: 217.8 kB / 22.92 MB, free: 5.195 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.28/1.28, allocations: 230.5 MB / 256.4 MB, free: 8.273 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.IntegerSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",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.001788/0.001788, allocations: 59.91 kB / 376.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2178, allocations: 53.31 MB / 429.4 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003151/0.2209, allocations: 1.941 MB / 431.3 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.223, allocations: 1.329 MB / 432.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.2231, allocations: 4 kB / 432.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.2234, allocations: 67.61 kB / 432.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.2237, allocations: 139.4 kB / 432.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.2243, allocations: 229.8 kB / 433.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.2245, allocations: 187.5 kB / 433.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.2246, allocations: 25.55 kB / 433.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.2247, allocations: 75.69 kB / 433.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.2248, allocations: 95.53 kB / 433.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.2249, allocations: 8 kB / 433.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.225, allocations: 71.95 kB / 433.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.3e-05/0.2251, allocations: 51.83 kB / 433.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.2252, allocations: 79.42 kB / 433.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.2255, allocations: 263.2 kB / 433.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2255, allocations: 0 / 433.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2255, allocations: 0 / 433.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.2255, allocations: 3.938 kB / 433.9 MB, free: 2.918 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007104/0.2263, allocations: 0.5426 MB / 434.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.2263, allocations: 8.031 kB / 434.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.2263, allocations: 46.72 kB / 434.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.2264, allocations: 28.75 kB / 434.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.2268, allocations: 303.7 kB / 434.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2268, allocations: 4.359 kB / 434.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.2268, allocations: 15.94 kB / 434.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.2272, allocations: 176.4 kB / 435 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2272, allocations: 0 / 435 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2272, allocations: 0 / 435 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2272, allocations: 4 kB / 435 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.2273, allocations: 43.91 kB / 435.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.2278, allocations: 466.6 kB / 435.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.2281, allocations: 142.5 kB / 435.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.704e-05/0.2282, allocations: 59.42 kB / 435.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.2282, allocations: 7.984 kB / 435.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.2284, allocations: 101 kB / 435.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.2284, allocations: 0 / 435.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000385/0.2288, allocations: 165.4 kB / 436 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.2289, allocations: 191.9 kB / 436.2 MB, free: 348 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.2292, allocations: 338.9 kB / 436.5 MB, free: 0 / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.2293, allocations: 30.06 kB / 436.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.2293, allocations: 136.4 kB / 436.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.2294, allocations: 23.83 kB / 436.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.2294, allocations: 33.7 kB / 436.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2296, allocations: 334.8 kB / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.2296, allocations: 23.98 kB / 437.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2298, allocations: 103.7 kB / 437.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.2299, allocations: 93.02 kB / 437.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2299, allocations: 4 kB / 437.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002517/0.2302, allocations: 145.7 kB / 437.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.2302, allocations: 4 kB / 437.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2302, allocations: 0 / 437.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2302, allocations: 4 kB / 437.4 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.2303, allocations: 23.98 kB / 437.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.2303, allocations: 7.938 kB / 437.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.001e-05/0.2304, allocations: 19.98 kB / 437.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.2304, allocations: 4 kB / 437.5 MB, free: 14.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001446/0.2306, allocations: 157.8 kB / 437.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.424e-05/0.2307, allocations: 73.5 kB / 437.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.2309, allocations: 119.3 kB / 437.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.2309, allocations: 4 kB / 437.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2309, allocations: 0 / 437.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2309, allocations: 12 kB / 437.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.2311, allocations: 241.6 kB / 438.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2311, allocations: 4 kB / 438.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.1e-05/0.2312, allocations: 19.92 kB / 438.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2312, allocations: 0 / 438.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2312, allocations: 4 kB / 438.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2312, allocations: 0 / 438.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2312, allocations: 0 / 438.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.2315, allocations: 195.3 kB / 438.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.2316, allocations: 120.9 kB / 438.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.2316, allocations: 4 kB / 438.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.2317, allocations: 7.984 kB / 438.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.2317, allocations: 15.97 kB / 438.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.2318, allocations: 16.05 kB / 438.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002255/0.232, allocations: 245.9 kB / 438.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.232, allocations: 0 / 438.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.2322, allocations: 35.98 kB / 438.7 MB, free: 13.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001809/0.234, allocations: 1.035 MB / 439.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.2343, allocations: 75.91 kB / 439.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2343, allocations: 0 / 439.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.699e-05/0.2344, allocations: 39.91 kB / 439.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.2347, allocations: 84.06 kB / 440 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.2372, allocations: 2.289 MB / 442.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2375, allocations: 0.7476 MB / 443 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.617e-05/0.2376, allocations: 25.55 kB / 443 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.48e-05/0.2377, allocations: 63.41 kB / 443.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2377, allocations: 0 / 443.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.2643, allocations: 5.514 MB / 448.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.056/7.32, allocations: 8.047 kB / 448.6 MB, free: 3.727 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.456640805998177]