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.001454/0.001454, allocations: 120.4 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.001853/0.001853, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.493/1.493, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.001916/0.001916, allocations: 67.83 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1174, allocations: 53.32 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002987/0.1204, allocations: 1.431 MB / 428.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002073/0.1206, allocations: 35.91 kB / 428.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.1207, allocations: 3.938 kB / 428.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.1207, allocations: 3.938 kB / 428.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.764e-05/0.1208, allocations: 3.938 kB / 428.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.121, allocations: 23.97 kB / 428.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.205e-05/0.1211, allocations: 27.92 kB / 428.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.1212, allocations: 8 kB / 428.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.1213, allocations: 19.92 kB / 428.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.1213, allocations: 7.938 kB / 428.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1213, allocations: 4 kB / 428.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.1213, allocations: 7.938 kB / 428.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.1213, allocations: 7.969 kB / 428.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.1214, allocations: 11.94 kB / 428.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.1215, allocations: 27.84 kB / 428.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1215, allocations: 0 / 428.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1215, allocations: 0 / 428.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1215, allocations: 4 kB / 428.5 MB, free: 3.215 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005123/0.122, allocations: 339.5 kB / 428.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.122, allocations: 11.97 kB / 428.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.1221, allocations: 38.75 kB / 428.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.1221, allocations: 0.9375 kB / 428.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1223, allocations: 184.2 kB / 429.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.1224, allocations: 8.375 kB / 429.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.1224, allocations: 384 / 429.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.1227, allocations: 119.8 kB / 429.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1227, allocations: 7.938 kB / 429.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.1227, allocations: 0 / 429.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1228, allocations: 4 kB / 429.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.965e-05/0.1229, allocations: 19.98 kB / 429.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.123, allocations: 157.7 kB / 429.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.1232, allocations: 46.5 kB / 429.4 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/0.1232, allocations: 28.92 kB / 429.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.1233, allocations: 0 / 429.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1233, allocations: 30.56 kB / 429.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1233, allocations: 4 kB / 429.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002624/0.1235, allocations: 77.55 kB / 429.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.1236, allocations: 55.41 kB / 429.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/0.1237, allocations: 109.8 kB / 429.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1237, allocations: 33.7 kB / 429.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.1238, allocations: 80.14 kB / 429.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.1238, allocations: 0 / 429.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.1238, allocations: 17.72 kB / 429.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.124, allocations: 318.8 kB / 430.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.124, allocations: 4 kB / 430.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.1241, allocations: 27.44 kB / 430.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/0.1241, allocations: 43.38 kB / 430.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1241, allocations: 0 / 430.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.533e-05/0.1242, allocations: 57.58 kB / 430.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1242, allocations: 16 kB / 430.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1242, allocations: 4 kB / 430.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1242, allocations: 0 / 430.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.1243, allocations: 11.92 kB / 430.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1243, allocations: 7.938 kB / 430.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.1243, allocations: 0 / 430.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1243, allocations: 4.188 kB / 430.3 MB, free: 1.121 MB / 350.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.221e-05/0.1244, allocations: 109.8 kB / 430.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.1246, allocations: 69.59 kB / 430.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.1246, allocations: 11.5 kB / 430.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1246, allocations: 0 / 430.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1246, allocations: 0 / 430.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1246, allocations: 0 / 430.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.1247, allocations: 157.7 kB / 430.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1247, allocations: 0 / 430.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.1248, allocations: 8.312 kB / 430.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1248, allocations: 3.938 kB / 430.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1248, allocations: 0 / 430.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1248, allocations: 4 kB / 430.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1248, allocations: 0 / 430.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1249, allocations: 93.06 kB / 430.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.125, allocations: 85.09 kB / 430.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.125, allocations: 3.938 kB / 430.9 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.803e-05/0.125, allocations: 4 kB / 430.9 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-06/0.125, allocations: 0 / 430.9 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.125, allocations: 0 / 430.9 MB, free: 484 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.454e-05/0.1251, allocations: 87.27 kB / 431 MB, free: 396 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1251, allocations: 0 / 431 MB, free: 396 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001845/0.1253, allocations: 8 kB / 431 MB, free: 388 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: 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.0006207/0.1259, allocations: 0.6436 MB / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.126, allocations: 31.92 kB / 431.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.126, allocations: 320 / 431.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.126, allocations: 7.938 kB / 431.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1263, allocations: 26.08 kB / 431.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1274, allocations: 1.166 MB / 432.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.1277, allocations: 0.6885 MB / 433.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.668e-05/0.1278, allocations: 0 / 433.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.1278, allocations: 7.438 kB / 433.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1278, allocations: 0 / 433.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.1521, allocations: 1.319 MB / 434.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/7.902, allocations: 23.08 kB / 434.9 MB, free: 12.45 MB / 366.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.47812637500465] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.967647067271173 8.167252092 7.862530107 Calling exit ...