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.001859/0.001859, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002445/0.002445, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.381/1.381, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001913/0.001913, allocations: 64.77 kB / 378.6 MB, free: 3.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2499, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.0029/0.2528, allocations: 1.666 MB / 433.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2539, allocations: 0.5842 MB / 434.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.759e-05/0.254, allocations: 7.938 kB / 434.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.885e-05/0.254, allocations: 7.922 kB / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.2542, allocations: 15.86 kB / 434.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.2545, allocations: 71.75 kB / 434.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.2546, allocations: 63.78 kB / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2547, allocations: 20.2 kB / 434.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.2549, allocations: 27.92 kB / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.2549, allocations: 35.78 kB / 434.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.2549, allocations: 4 kB / 434.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.255, allocations: 12 kB / 434.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.255, allocations: 31.84 kB / 434.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.2551, allocations: 35.75 kB / 434.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.2552, allocations: 84.42 kB / 434.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2552, allocations: 0 / 434.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2552, allocations: 0 / 434.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2553, allocations: 0 / 434.6 MB, free: 4.215 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004907/0.2557, allocations: 317.9 kB / 434.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2558, allocations: 12.03 kB / 434.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.2558, allocations: 34.73 kB / 434.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.256, allocations: 28.83 kB / 435 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.2562, allocations: 154.8 kB / 435.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2562, allocations: 384 / 435.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.2563, allocations: 11.94 kB / 435.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.2566, allocations: 140.9 kB / 435.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2566, allocations: 8 kB / 435.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2566, allocations: 4 kB / 435.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2566, allocations: 0 / 435.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.2567, allocations: 35.91 kB / 435.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.2571, allocations: 272.7 kB / 435.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.2574, allocations: 77.14 kB / 435.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.2574, allocations: 33.8 kB / 435.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.2575, allocations: 3.984 kB / 435.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.2576, allocations: 71.36 kB / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.2576, allocations: 0 / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003022/0.2579, allocations: 117.5 kB / 435.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.258, allocations: 85.09 kB / 436 MB, free: 2.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.2581, allocations: 155.5 kB / 436.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2581, allocations: 25.7 kB / 436.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.2582, allocations: 100.1 kB / 436.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.2582, allocations: 11.91 kB / 436.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.2582, allocations: 33.66 kB / 436.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2584, allocations: 322.8 kB / 436.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.2585, allocations: 23.98 kB / 436.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.535e-05/0.2585, allocations: 57.14 kB / 436.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.2587, allocations: 89.08 kB / 436.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2587, allocations: 0 / 436.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002107/0.2589, allocations: 117.7 kB / 436.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2589, allocations: 4 kB / 436.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2589, allocations: 4 kB / 436.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2589, allocations: 3.984 kB / 436.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.259, allocations: 19.88 kB / 436.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.259, allocations: 3.984 kB / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.2591, allocations: 15.88 kB / 436.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.2591, allocations: 4 kB / 436.9 MB, free: 1.602 MB / 334.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 0.0001083/0.2592, allocations: 128.8 kB / 437.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.2593, allocations: 57.58 kB / 437.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.2593, allocations: 16.39 kB / 437.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2593, allocations: 3.938 kB / 437.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2593, allocations: 0 / 437.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2593, allocations: 0 / 437.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.2597, allocations: 317.9 kB / 437.5 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2597, allocations: 4.062 kB / 437.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.2597, allocations: 11.94 kB / 437.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2598, allocations: 8 kB / 437.5 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2598, allocations: 3.984 kB / 437.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2598, allocations: 0 / 437.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2598, allocations: 0 / 437.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.26, allocations: 200.3 kB / 437.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.26, allocations: 19.94 kB / 437.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.2601, allocations: 12 kB / 437.7 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.2601, allocations: 3.984 kB / 437.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.2602, allocations: 4 kB / 437.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.2602, allocations: 0 / 437.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.268e-05/0.2603, allocations: 115.2 kB / 437.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2603, allocations: 96 / 437.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000241/0.2605, allocations: 19.89 kB / 437.8 MB, free: 0.6094 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: 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.0006522/0.2612, allocations: 0.7758 MB / 438.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.2613, allocations: 59.91 kB / 438.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2614, allocations: 0 / 438.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.033e-05/0.2614, allocations: 19.98 kB / 438.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.2617, allocations: 40.25 kB / 438.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.2634, allocations: 1.54 MB / 440.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.2637, allocations: 0.7002 MB / 441 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.2637, allocations: 16.41 kB / 441 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.2638, allocations: 23.44 kB / 441 MB, free: 13.26 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2638, allocations: 0 / 441 MB, free: 13.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.2876, allocations: 2.083 MB / 443.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.004, allocations: 4 kB / 443.1 MB, free: 11.3 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 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.363566684070975] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'triggeredSampler.y'] 8.070639494806528 8.087039553 7.828612951 Calling exit ...