Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.001249/0.001249, allocations: 120.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.001446/0.001446, allocations: 205 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.49/1.49, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",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.002011/0.002011, allocations: 63.84 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.111, allocations: 53.34 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002255/0.1133, allocations: 0.8512 MB / 427.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003494/0.1136, allocations: 111.7 kB / 428 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.1137, allocations: 7.938 kB / 428 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.1137, allocations: 7.922 kB / 428 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.1139, allocations: 3.938 kB / 428 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1141, allocations: 39.84 kB / 428 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.1142, allocations: 43.91 kB / 428.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1143, allocations: 15.98 kB / 428.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.652e-05/0.1143, allocations: 23.92 kB / 428.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.1144, allocations: 19.86 kB / 428.1 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1144, allocations: 7.938 kB / 428.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.1144, allocations: 0 / 428.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.1144, allocations: 11.94 kB / 428.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.1145, allocations: 31.8 kB / 428.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.1146, allocations: 51.73 kB / 428.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1146, allocations: 0 / 428.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1146, allocations: 0 / 428.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1146, allocations: 0 / 428.2 MB, free: 3.57 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004526/0.1151, allocations: 383.1 kB / 428.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1151, allocations: 8.031 kB / 428.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.1151, allocations: 30.75 kB / 428.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.1152, allocations: 20.83 kB / 428.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1154, allocations: 192.2 kB / 428.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1154, allocations: 8.375 kB / 428.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.1155, allocations: 8.359 kB / 428.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.1157, allocations: 131.8 kB / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1157, allocations: 7.922 kB / 429 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1157, allocations: 0 / 429 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1157, allocations: 0 / 429 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.395e-05/0.1158, allocations: 20 kB / 429 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.1159, allocations: 165.7 kB / 429.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1161, allocations: 66.69 kB / 429.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.433e-05/0.1162, allocations: 40.84 kB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.1162, allocations: 0 / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.1162, allocations: 34.56 kB / 429.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1162, allocations: 0 / 429.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001936/0.1164, allocations: 89.52 kB / 429.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.1165, allocations: 63.33 kB / 429.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1166, allocations: 136.1 kB / 429.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1166, allocations: 29.7 kB / 429.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.1167, allocations: 80.14 kB / 429.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.1167, allocations: 15.94 kB / 429.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.1167, allocations: 21.72 kB / 429.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1169, allocations: 318.8 kB / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.1169, allocations: 4 kB / 430.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.1169, allocations: 66.86 kB / 430.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.291e-05/0.117, allocations: 70.94 kB / 430.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.117, allocations: 0 / 430.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001337/0.1172, allocations: 97.59 kB / 430.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1172, allocations: 11.97 kB / 430.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1172, allocations: 4 kB / 430.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1172, allocations: 0 / 430.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-05/0.1172, allocations: 8 kB / 430.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1172, allocations: 4 kB / 430.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.1173, allocations: 7.875 kB / 430.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1173, allocations: 4 kB / 430.3 MB, free: 1.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.968e-05/0.1174, allocations: 121.8 kB / 430.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.1175, allocations: 73.59 kB / 430.5 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.1175, allocations: 16.36 kB / 430.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1175, allocations: 0 / 430.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1175, allocations: 0 / 430.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1175, allocations: 0 / 430.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.1176, allocations: 169.7 kB / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1176, allocations: 0 / 430.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.1177, allocations: 7.922 kB / 430.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1177, allocations: 3.938 kB / 430.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1177, allocations: 4 kB / 430.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1177, allocations: 0 / 430.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1177, allocations: 8 kB / 430.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.1178, allocations: 89.08 kB / 430.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.1179, allocations: 97.05 kB / 430.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.1179, allocations: 3.938 kB / 430.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/0.1179, allocations: 3.938 kB / 430.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-06/0.1179, allocations: 0 / 430.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1179, allocations: 8 kB / 430.9 MB, free: 496 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.042e-05/0.118, allocations: 103.2 kB / 431 MB, free: 392 kB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.118, allocations: 4 kB / 431 MB, free: 388 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001973/0.1182, allocations: 12 kB / 431 MB, free: 376 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005168/0.1187, allocations: 0.6619 MB / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.1188, allocations: 52.17 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1188, allocations: 0 / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.1188, allocations: 0 / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.1191, allocations: 50.56 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1203, allocations: 1.321 MB / 433.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1207, allocations: 0.6963 MB / 433.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.168e-05/0.1207, allocations: 3.984 kB / 433.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.1207, allocations: 19.44 kB / 433.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1207, allocations: 3.938 kB / 433.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.1476, allocations: 1.709 MB / 435.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.054, allocations: 8.062 kB / 435.6 MB, free: 11.8 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_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_BooleanSignals_AssignClock.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.769092268310487] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.125165618956089 8.350763098 8.03143441 Calling exit ...