Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.001444/0.001444, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001358/0.001358, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.511/1.511, allocations: 230.5 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",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.002005/0.002005, allocations: 71.83 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.117, allocations: 53.31 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003284/0.1203, allocations: 1.661 MB / 428.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1216, allocations: 0.5765 MB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.1216, allocations: 4 kB / 429.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.447e-05/0.1217, allocations: 7.875 kB / 429.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.1218, allocations: 15.86 kB / 429.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.1222, allocations: 71.8 kB / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1224, allocations: 67.72 kB / 429.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1225, allocations: 16.22 kB / 429.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1226, allocations: 39.78 kB / 429.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.1226, allocations: 31.84 kB / 429.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1227, allocations: 4 kB / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.33e-05/0.1227, allocations: 12 kB / 429.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.1228, allocations: 23.92 kB / 429.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.1228, allocations: 35.75 kB / 429.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.123, allocations: 87.5 kB / 429.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.123, allocations: 0 / 429.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.123, allocations: 4 kB / 429.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.123, allocations: 0 / 429.5 MB, free: 2.207 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005663/0.1236, allocations: 397 kB / 429.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1236, allocations: 12.03 kB / 429.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.1237, allocations: 38.73 kB / 430 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.1238, allocations: 28.81 kB / 430 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.1241, allocations: 200.8 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1241, allocations: 8.375 kB / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.1241, allocations: 7.938 kB / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.1244, allocations: 144.9 kB / 430.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1245, allocations: 0 / 430.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1245, allocations: 8 kB / 430.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1245, allocations: 0 / 430.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1246, allocations: 31.97 kB / 430.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.1251, allocations: 301.6 kB / 430.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.1253, allocations: 154.3 kB / 430.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.1254, allocations: 37.8 kB / 430.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1254, allocations: 0 / 430.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.1255, allocations: 67.28 kB / 430.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1255, allocations: 0 / 430.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003212/0.1259, allocations: 125.5 kB / 431.1 MB, free: 464 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.1259, allocations: 77.11 kB / 431.1 MB, free: 368 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.1261, allocations: 152 kB / 431.3 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1261, allocations: 33.64 kB / 431.3 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.1262, allocations: 92.12 kB / 431.4 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.1262, allocations: 15.97 kB / 431.4 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.1262, allocations: 33.66 kB / 431.5 MB, free: 16 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2128/0.3391, allocations: 319.9 kB / 431.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3392, allocations: 21.28 kB / 431.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.593e-05/0.3393, allocations: 58.8 kB / 431.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3394, allocations: 86.3 kB / 431.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3394, allocations: 5.625 kB / 431.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002412/0.3397, allocations: 111 kB / 432.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3397, allocations: 7.109 kB / 432.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3397, allocations: 1.344 kB / 432.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3397, allocations: 2.531 kB / 432.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.3398, allocations: 19.73 kB / 432.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3398, allocations: 2.703 kB / 432.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.3399, allocations: 11.28 kB / 432.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3399, allocations: 6.328 kB / 432.1 MB, free: 10.81 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: 8 (triggeredSampler.y,$PRE.triggeredSampler.y,clockToTrigger.y3,$PRE.clockToTrigger.y3,triggeredSampler.trigger,$whenCondition1,$CLKPRE.clockToTrigger.y2,clockToTrigger.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.565e-05/0.34, allocations: 129.8 kB / 432.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.3401, allocations: 51.23 kB / 432.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.3401, allocations: 14.84 kB / 432.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3401, allocations: 6.328 kB / 432.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3401, allocations: 2.219 kB / 432.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3401, allocations: 1.359 kB / 432.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.3405, allocations: 344.5 kB / 432.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3405, allocations: 0.5312 kB / 432.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.3405, allocations: 15.09 kB / 432.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3405, allocations: 8.172 kB / 432.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3405, allocations: 6.844 kB / 432.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3405, allocations: 0.7969 kB / 432.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3406, allocations: 4.375 kB / 432.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.3407, allocations: 202 kB / 432.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.3408, allocations: 106.1 kB / 433 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.3408, allocations: 5.328 kB / 433 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.3409, allocations: 7.188 kB / 433 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.3409, allocations: 9.266 kB / 433 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3409, allocations: 3.688 kB / 433 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.194e-05/0.341, allocations: 109.6 kB / 433.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.341, allocations: 0 / 433.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.3413, allocations: 15.59 kB / 433.1 MB, free: 10.05 MB / 350.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: 5 (clockToTrigger.y2,triggeredSampler.trigger,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004562/0.3417, allocations: 0.7684 MB / 433.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.3419, allocations: 67.33 kB / 434 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3419, allocations: 1.156 kB / 434 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.342, allocations: 18.2 kB / 434 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.3423, allocations: 34.27 kB / 434 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.3436, allocations: 1.544 MB / 435.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.3437, allocations: 0.7021 MB / 436.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.202e-05/0.3437, allocations: 8.062 kB / 436.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.3438, allocations: 31.23 kB / 436.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3438, allocations: 0 / 436.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.3765, allocations: 2.063 MB / 438.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.285, allocations: 17.69 kB / 438.4 MB, free: 7.074 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.686270368751138] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'triggeredSampler.y'] 8.352202576119453 8.365942082 8.24017234 Calling exit ...