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.001415/0.001415, allocations: 105 kB / 19.74 MB, free: 2.453 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.001537/0.001537, allocations: 213.1 kB / 22.92 MB, free: 5.195 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.277/1.277, allocations: 230.5 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] 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.001756/0.001756, allocations: 71.81 kB / 376.1 MB, free: 4.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2111, allocations: 53.32 MB / 429.4 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002073/0.2132, allocations: 0.8737 MB / 430.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003209/0.2135, allocations: 119.6 kB / 430.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.2136, allocations: 4 kB / 430.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.2137, allocations: 3.938 kB / 430.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.569e-05/0.2138, allocations: 3.938 kB / 430.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.214, allocations: 39.89 kB / 430.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.269e-05/0.2141, allocations: 43.91 kB / 430.5 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.055e-05/0.2141, allocations: 8 kB / 430.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.2142, allocations: 19.86 kB / 430.5 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.38e-05/0.2142, allocations: 23.92 kB / 430.5 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2142, allocations: 4 kB / 430.5 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.2142, allocations: 4 kB / 430.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.2143, allocations: 19.91 kB / 430.6 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.2143, allocations: 19.81 kB / 430.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.2144, allocations: 51.61 kB / 430.6 MB, free: 6.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2144, allocations: 0 / 430.6 MB, free: 6.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2144, allocations: 4 kB / 430.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2144, allocations: 3.938 kB / 430.6 MB, free: 6.328 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.0003799/0.2148, allocations: 371.7 kB / 431 MB, free: 5.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2148, allocations: 15.97 kB / 431 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.2149, allocations: 34.75 kB / 431.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.2149, allocations: 8.891 kB / 431.1 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.2151, allocations: 200.1 kB / 431.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.2151, allocations: 384 / 431.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.2151, allocations: 8.375 kB / 431.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.2154, allocations: 139.7 kB / 431.4 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2154, allocations: 3.938 kB / 431.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.2154, allocations: 0 / 431.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2154, allocations: 0 / 431.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.734e-05/0.2154, allocations: 12 kB / 431.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.2156, allocations: 173.6 kB / 431.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.2157, allocations: 66.66 kB / 431.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.2158, allocations: 32.89 kB / 431.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.2158, allocations: 0 / 431.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.2158, allocations: 34.56 kB / 431.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.2158, allocations: 0 / 431.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001755/0.216, allocations: 97.55 kB / 431.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.216, allocations: 51.41 kB / 431.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2161, allocations: 141.4 kB / 432 MB, free: 4.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2162, allocations: 29.7 kB / 432 MB, free: 4.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.2162, allocations: 88.12 kB / 432.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.2162, allocations: 3.953 kB / 432.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.2163, allocations: 25.72 kB / 432.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2164, allocations: 322.8 kB / 432.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.2164, allocations: 4 kB / 432.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.2165, allocations: 62.86 kB / 432.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.948e-05/0.2165, allocations: 74.75 kB / 432.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.2166, allocations: 4 kB / 432.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001224/0.2167, allocations: 93.44 kB / 432.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2167, allocations: 19 kB / 432.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2167, allocations: 0 / 432.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2167, allocations: 4 kB / 432.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.539e-05/0.2167, allocations: 4 kB / 432.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2167, allocations: 0 / 432.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/0.2168, allocations: 11.94 kB / 432.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.2168, allocations: 4 kB / 432.7 MB, free: 3.953 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 8.921e-05/0.2169, allocations: 125.8 kB / 432.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.217, allocations: 73.58 kB / 432.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.217, allocations: 12.56 kB / 432.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.217, allocations: 4 kB / 432.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.217, allocations: 3.938 kB / 433 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.217, allocations: 3.938 kB / 433 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.2171, allocations: 169.6 kB / 433.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2171, allocations: 0 / 433.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.248e-05/0.2171, allocations: 7.938 kB / 433.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2171, allocations: 3.938 kB / 433.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.2171, allocations: 0 / 433.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2171, allocations: 0 / 433.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2171, allocations: 4 kB / 433.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.2172, allocations: 101.1 kB / 433.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.2173, allocations: 97.03 kB / 433.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.2173, allocations: 3.938 kB / 433.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.413e-05/0.2173, allocations: 4 kB / 433.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-06/0.2173, allocations: 0 / 433.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2173, allocations: 3.984 kB / 433.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.751e-05/0.2174, allocations: 103.3 kB / 433.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2174, allocations: 4 kB / 433.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000184/0.2176, allocations: 4 kB / 433.4 MB, free: 3.137 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.0004485/0.218, allocations: 0.6665 MB / 434.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.2182, allocations: 44.3 kB / 434.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2182, allocations: 0 / 434.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2182, allocations: 0 / 434.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.2184, allocations: 39.94 kB / 434.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2195, allocations: 1.324 MB / 435.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.2197, allocations: 0.6963 MB / 436.2 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.861e-05/0.2198, allocations: 11.94 kB / 436.2 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.2198, allocations: 15.53 kB / 436.2 MB, free: 168 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2198, allocations: 3.938 kB / 436.2 MB, free: 164 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.2414, allocations: 1.695 MB / 437.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.76/7.001, allocations: 8.062 kB / 438 MB, free: 14.54 MB / 350.1 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 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: 9.053580537001835]