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.001522/0.001522, allocations: 121.2 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.001465/0.001465, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.483/1.483, allocations: 230.5 MB / 254.8 MB, free: 15.27 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.002021/0.002021, allocations: 71.83 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1108, allocations: 53.32 MB / 427 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.004327/0.1151, allocations: 1.653 MB / 428.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1166, allocations: 0.5766 MB / 429.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.29e-05/0.1167, allocations: 3.938 kB / 429.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.588e-05/0.1167, allocations: 15.86 kB / 429.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.1169, allocations: 19.86 kB / 429.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.1174, allocations: 62.94 kB / 429.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1175, allocations: 67.78 kB / 429.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1176, allocations: 24.2 kB / 429.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1178, allocations: 35.8 kB / 429.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.001e-05/0.1179, allocations: 27.84 kB / 429.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1179, allocations: 4 kB / 429.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.591e-05/0.118, allocations: 16 kB / 429.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.118, allocations: 23.91 kB / 429.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.1181, allocations: 39.73 kB / 429.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.1183, allocations: 75.59 kB / 429.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1183, allocations: 7.938 kB / 429.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1183, allocations: 0 / 429.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.1183, allocations: 0 / 429.7 MB, free: 2.16 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.000657/0.119, allocations: 399 kB / 430.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.119, allocations: 8.031 kB / 430.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/0.1191, allocations: 42.69 kB / 430.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.1193, allocations: 28.83 kB / 430.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.1196, allocations: 207.3 kB / 430.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1197, allocations: 8.375 kB / 430.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.1197, allocations: 11.94 kB / 430.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.1201, allocations: 143 kB / 430.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1201, allocations: 0 / 430.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1201, allocations: 4 kB / 430.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1202, allocations: 4 kB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1203, allocations: 27.92 kB / 430.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.121, allocations: 313.6 kB / 430.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.1213, allocations: 146.2 kB / 431 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1214, allocations: 33.8 kB / 431 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1215, allocations: 4 kB / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.1216, allocations: 75.28 kB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.893e-06/0.1216, allocations: 0 / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004505/0.1221, allocations: 109.6 kB / 431.2 MB, free: 416 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.1222, allocations: 89.03 kB / 431.3 MB, free: 308 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.1224, allocations: 145.8 kB / 431.4 MB, free: 152 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1224, allocations: 25.7 kB / 431.4 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.1225, allocations: 104.1 kB / 431.5 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.1225, allocations: 16.06 kB / 431.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.139e-05/0.1226, allocations: 29.66 kB / 431.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1228, allocations: 318.8 kB / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/0.1229, allocations: 23.98 kB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.123, allocations: 61.14 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.1232, allocations: 77.08 kB / 432.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1232, allocations: 3.938 kB / 432.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003072/0.1235, allocations: 121.5 kB / 432.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.1236, allocations: 8 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1236, allocations: 0 / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.1236, allocations: 4 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1237, allocations: 11.94 kB / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1237, allocations: 4 kB / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.597e-05/0.1238, allocations: 12.23 kB / 432.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1238, allocations: 8.156 kB / 432.2 MB, free: 15.27 MB / 366.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.0001511/0.124, allocations: 131.1 kB / 432.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.89e-05/0.1241, allocations: 53.64 kB / 432.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.1241, allocations: 12.31 kB / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.1242, allocations: 11.92 kB / 432.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.1242, allocations: 4 kB / 432.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1242, allocations: 0 / 432.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005759/0.1247, allocations: 346.4 kB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1247, allocations: 8 kB / 432.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.1248, allocations: 11.94 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.1248, allocations: 3.984 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1248, allocations: 0 / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1248, allocations: 0 / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1248, allocations: 4 kB / 432.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.1252, allocations: 204.2 kB / 433 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1253, allocations: 101 kB / 433.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.1253, allocations: 8 kB / 433.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.1254, allocations: 0 / 433.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.1255, allocations: 4 kB / 433.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1255, allocations: 7.984 kB / 433.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.1256, allocations: 106.1 kB / 433.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1256, allocations: 0 / 433.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000427/0.126, allocations: 23.89 kB / 433.3 MB, free: 14.13 MB / 366.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.0009106/0.1269, allocations: 0.7684 MB / 434 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.1272, allocations: 59.91 kB / 434.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1272, allocations: 384 / 434.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.1273, allocations: 27.92 kB / 434.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.1278, allocations: 36.12 kB / 434.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.1302, allocations: 1.547 MB / 435.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.1307, allocations: 0.7041 MB / 436.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.1307, allocations: 8.922 kB / 436.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.1308, allocations: 19.44 kB / 436.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1308, allocations: 0 / 436.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.1619, allocations: 2.069 MB / 438.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.147, allocations: 11.23 kB / 438.5 MB, free: 8.891 MB / 366.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.796319660264999] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'triggeredSampler.y'] 8.21512903412804 8.399640785 8.278595195 Calling exit ...