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.TickBasedStep.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.001537/0.001537, allocations: 109 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.002091/0.002091, allocations: 213.6 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",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.002873/0.002873, allocations: 60.77 kB / 378.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2988, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002835/0.3016, allocations: 1.452 MB / 433.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000209/0.3018, allocations: 35.84 kB / 433.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.3019, allocations: 4 kB / 433.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.3019, allocations: 3.938 kB / 433.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.78e-05/0.3019, allocations: 0 / 433.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.3022, allocations: 26.84 kB / 433.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.695e-05/0.3023, allocations: 23.92 kB / 433.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3024, allocations: 8 kB / 433.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.3025, allocations: 11.92 kB / 433.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.3025, allocations: 19.92 kB / 433.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3026, allocations: 4 kB / 433.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.3026, allocations: 0 / 433.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.3026, allocations: 11.98 kB / 433.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.3026, allocations: 15.88 kB / 433.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.3027, allocations: 27.89 kB / 433.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3027, allocations: 0 / 433.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3027, allocations: 0 / 433.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.3028, allocations: 0 / 433.5 MB, free: 5.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004809/0.3032, allocations: 268.5 kB / 433.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3033, allocations: 12.03 kB / 433.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.3033, allocations: 34.75 kB / 433.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.3033, allocations: 4.938 kB / 433.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.3036, allocations: 118.4 kB / 434 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.3036, allocations: 8.375 kB / 434 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.3036, allocations: 384 / 434 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.304, allocations: 115.9 kB / 434.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.304, allocations: 3.938 kB / 434.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.304, allocations: 0 / 434.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.304, allocations: 7.984 kB / 434.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.912e-05/0.3041, allocations: 23.92 kB / 434.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.3042, allocations: 124.8 kB / 434.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.3044, allocations: 50.58 kB / 434.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.3045, allocations: 20.89 kB / 434.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.3045, allocations: 4 kB / 434.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.3045, allocations: 34.56 kB / 434.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3045, allocations: 0 / 434.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002492/0.3048, allocations: 81.5 kB / 434.4 MB, free: 4.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.3048, allocations: 55.39 kB / 434.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.3049, allocations: 109.7 kB / 434.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3049, allocations: 29.7 kB / 434.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.305, allocations: 84.14 kB / 434.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.305, allocations: 3.984 kB / 434.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.305, allocations: 17.72 kB / 434.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3052, allocations: 314.8 kB / 435 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.3052, allocations: 7.984 kB / 435.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.789e-05/0.3053, allocations: 35.69 kB / 435.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.759e-05/0.3053, allocations: 39.38 kB / 435.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3053, allocations: 0 / 435.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.724e-05/0.3054, allocations: 65.7 kB / 435.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3054, allocations: 7.938 kB / 435.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3054, allocations: 0 / 435.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3054, allocations: 8.125 kB / 435.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.336e-05/0.3055, allocations: 3.984 kB / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.3055, allocations: 7.984 kB / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.3055, allocations: 0 / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.3055, allocations: 11.98 kB / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.168e-05/0.3056, allocations: 109.8 kB / 435.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.3058, allocations: 65.56 kB / 435.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.3058, allocations: 7.672 kB / 435.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3058, allocations: 4 kB / 435.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3058, allocations: 0 / 435.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3058, allocations: 0 / 435.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.3059, allocations: 124.8 kB / 435.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3059, allocations: 0 / 435.5 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.306, allocations: 7.984 kB / 435.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.306, allocations: 3.938 kB / 435.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.306, allocations: 4 kB / 435.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.306, allocations: 4 kB / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.306, allocations: 3.938 kB / 435.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.3062, allocations: 93 kB / 435.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.3062, allocations: 4 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3062, allocations: 3.938 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.831e-05/0.3062, allocations: 3.984 kB / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-06/0.3062, allocations: 4 kB / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3062, allocations: 0 / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.3063, allocations: 87.41 kB / 435.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3063, allocations: 3.938 kB / 435.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00019/0.3065, allocations: 4 kB / 435.8 MB, free: 2.758 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005666/0.307, allocations: 0.6436 MB / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.3072, allocations: 31.91 kB / 436.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3072, allocations: 0 / 436.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.3072, allocations: 320 / 436.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.3074, allocations: 33.17 kB / 436.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.3085, allocations: 1.162 MB / 437.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.3088, allocations: 0.6768 MB / 438.3 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.174e-05/0.3088, allocations: 8 kB / 438.3 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.3088, allocations: 11.42 kB / 438.3 MB, free: 36 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3088, allocations: 0 / 438.3 MB, free: 36 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.3332, allocations: 1.321 MB / 439.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.24, allocations: 7.938 kB / 439.6 MB, free: 14.8 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.64377629570663] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.31945345690474 8.340364558 8.03433563 Calling exit ...