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.0019/0.0019, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001969/0.001969, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.001884/0.001884, allocations: 68.77 kB / 378.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.253, allocations: 53.38 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002206/0.2553, allocations: 0.8698 MB / 432.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003379/0.2556, allocations: 119.5 kB / 432.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.717e-05/0.2557, allocations: 8 kB / 432.9 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.359e-05/0.2557, allocations: 7.922 kB / 432.9 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.2558, allocations: 3.938 kB / 432.9 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.256, allocations: 35.91 kB / 433 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.2562, allocations: 43.91 kB / 433 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2563, allocations: 15.98 kB / 433 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.225e-05/0.2563, allocations: 23.81 kB / 433 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.1e-05/0.2563, allocations: 11.92 kB / 433.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2563, allocations: 4 kB / 433.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.2564, allocations: 4 kB / 433.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.2564, allocations: 19.92 kB / 433.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.2564, allocations: 27.8 kB / 433.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.2566, allocations: 59.48 kB / 433.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2566, allocations: 0 / 433.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2566, allocations: 0 / 433.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2566, allocations: 3.984 kB / 433.2 MB, free: 5.664 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004022/0.257, allocations: 291.1 kB / 433.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.257, allocations: 12.02 kB / 433.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.257, allocations: 34.75 kB / 433.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.2571, allocations: 8.891 kB / 433.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.2573, allocations: 141.2 kB / 433.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2573, allocations: 8.375 kB / 433.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.2573, allocations: 4.375 kB / 433.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.2576, allocations: 135.7 kB / 433.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2576, allocations: 3.938 kB / 433.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2576, allocations: 8 kB / 433.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2576, allocations: 4 kB / 433.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.2577, allocations: 12 kB / 433.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.2578, allocations: 140.7 kB / 434 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.258, allocations: 62.66 kB / 434 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.258, allocations: 36.88 kB / 434.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.258, allocations: 8 kB / 434.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2581, allocations: 34.56 kB / 434.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.2581, allocations: 0 / 434.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001861/0.2582, allocations: 89.52 kB / 434.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.2583, allocations: 59.41 kB / 434.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2584, allocations: 133.8 kB / 434.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2584, allocations: 25.7 kB / 434.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.2585, allocations: 88.14 kB / 434.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.2585, allocations: 11.94 kB / 434.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.2586, allocations: 29.7 kB / 434.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2587, allocations: 314.8 kB / 434.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.641e-05/0.2587, allocations: 12 kB / 434.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.2588, allocations: 62.8 kB / 434.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.003e-05/0.2589, allocations: 70.75 kB / 435 MB, free: 3.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2589, allocations: 4 kB / 435 MB, free: 3.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001277/0.259, allocations: 93.44 kB / 435.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.259, allocations: 7.938 kB / 435.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.259, allocations: 4 kB / 435.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.259, allocations: 3.984 kB / 435.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.7e-05/0.259, allocations: 4.25 kB / 435.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2591, allocations: 11.94 kB / 435.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.2591, allocations: 3.938 kB / 435.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.2591, allocations: 7.984 kB / 435.1 MB, free: 3.48 MB / 334.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 0.0001024/0.2592, allocations: 121.8 kB / 435.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.2593, allocations: 69.58 kB / 435.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.2593, allocations: 20.31 kB / 435.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.2593, allocations: 3.938 kB / 435.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2593, allocations: 0 / 435.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.2593, allocations: 8 kB / 435.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.2594, allocations: 140.7 kB / 435.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2594, allocations: 0 / 435.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-06/0.2595, allocations: 0 / 435.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2595, allocations: 3.938 kB / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2595, allocations: 4 kB / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2595, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2595, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.2596, allocations: 97.08 kB / 435.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.479e-05/0.2596, allocations: 15.94 kB / 435.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.2596, allocations: 3.938 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.775e-05/0.2597, allocations: 8 kB / 435.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-06/0.2597, allocations: 3.938 kB / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.2597, allocations: 0 / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.706e-05/0.2597, allocations: 110.2 kB / 435.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2597, allocations: 0 / 435.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001865/0.2599, allocations: 4 kB / 435.7 MB, free: 2.801 MB / 334.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.0004997/0.2604, allocations: 0.6593 MB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.2606, allocations: 43.86 kB / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2606, allocations: 4 kB / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.2606, allocations: 0.5625 kB / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.2608, allocations: 56.61 kB / 436.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.262, allocations: 1.321 MB / 437.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.2623, allocations: 0.6924 MB / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.778e-05/0.2624, allocations: 11.94 kB / 438.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.2624, allocations: 19.44 kB / 438.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2624, allocations: 0 / 438.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.2882, allocations: 1.736 MB / 440.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/7.859, allocations: 18.95 kB / 440.3 MB, free: 14.15 MB / 350.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.28102227812633] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.924982642754912 7.938503643 7.679168547 Calling exit ...