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.Sample1.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.001356/0.001356, allocations: 122.7 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.001412/0.001412, allocations: 210.5 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.545/1.545, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",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.002015/0.002015, allocations: 71.83 kB / 373.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1133, allocations: 53.31 MB / 426.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.0032/0.1165, allocations: 1.52 MB / 428.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004298/0.117, allocations: 143.5 kB / 428.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.1171, allocations: 0 / 428.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.1171, allocations: 3.938 kB / 428.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.1172, allocations: 11.92 kB / 428.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.1176, allocations: 35.84 kB / 428.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1177, allocations: 31.98 kB / 428.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1179, allocations: 11.98 kB / 428.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.173e-05/0.1179, allocations: 7.938 kB / 428.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.1179, allocations: 27.84 kB / 428.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.1179, allocations: 0 / 428.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.118, allocations: 7.938 kB / 428.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.118, allocations: 11.98 kB / 428.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.118, allocations: 23.81 kB / 428.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.1182, allocations: 51.69 kB / 428.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1182, allocations: 0 / 428.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1182, allocations: 0 / 428.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1182, allocations: 0 / 428.8 MB, free: 3.066 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005382/0.1187, allocations: 363.2 kB / 429.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1188, allocations: 16.03 kB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.1188, allocations: 30.75 kB / 429.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.1189, allocations: 12.88 kB / 429.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.1192, allocations: 192.2 kB / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1192, allocations: 384 / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1192, allocations: 8.375 kB / 429.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.1195, allocations: 117.6 kB / 429.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1195, allocations: 3.938 kB / 429.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1196, allocations: 0 / 429.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1196, allocations: 0 / 429.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.626e-05/0.1196, allocations: 15.92 kB / 429.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.1201, allocations: 265.7 kB / 429.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1203, allocations: 138.2 kB / 429.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.1203, allocations: 25.77 kB / 429.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.1204, allocations: 4 kB / 429.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.1204, allocations: 34.56 kB / 430 MB, free: 1.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.051e-06/0.1204, allocations: 0 / 430 MB, free: 1.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002584/0.1207, allocations: 73.56 kB / 430 MB, free: 1.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.1207, allocations: 77.11 kB / 430.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1209, allocations: 129.8 kB / 430.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1209, allocations: 29.7 kB / 430.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.654e-05/0.121, allocations: 84.27 kB / 430.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.121, allocations: 7.984 kB / 430.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.121, allocations: 21.67 kB / 430.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1212, allocations: 318.8 kB / 430.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.814e-05/0.1212, allocations: 7.984 kB / 430.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-05/0.1212, allocations: 27.38 kB / 430.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.937e-05/0.1213, allocations: 47.42 kB / 430.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1214, allocations: 3.938 kB / 430.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001239/0.1215, allocations: 61.56 kB / 430.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1215, allocations: 4 kB / 430.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1215, allocations: 8.062 kB / 430.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1215, allocations: 8 kB / 430.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-05/0.1215, allocations: 0 / 430.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1215, allocations: 4 kB / 430.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.1216, allocations: 3.984 kB / 430.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1216, allocations: 4 kB / 430.9 MB, free: 0.6523 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.885e-05/0.1217, allocations: 121.7 kB / 431 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.1218, allocations: 49.64 kB / 431 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.1218, allocations: 11.84 kB / 431 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1218, allocations: 8 kB / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1218, allocations: 0 / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1218, allocations: 0 / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.122, allocations: 169.6 kB / 431.2 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.122, allocations: 0 / 431.2 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-06/0.122, allocations: 4 kB / 431.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.122, allocations: 336 / 431.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.122, allocations: 0 / 431.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.122, allocations: 0 / 431.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.122, allocations: 4 kB / 431.2 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.1222, allocations: 176.2 kB / 431.4 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.232/0.3542, allocations: 83.45 kB / 431.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.3542, allocations: 2.219 kB / 431.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3543, allocations: 5.5 kB / 431.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.3544, allocations: 1.062 kB / 431.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.3544, allocations: 2.234 kB / 431.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.966e-05/0.3545, allocations: 106.5 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3545, allocations: 2.625 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000295/0.3548, allocations: 4.469 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0005879/0.3554, allocations: 0.6965 MB / 432.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.3556, allocations: 23.86 kB / 432.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3556, allocations: 2.844 kB / 432.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.951e-05/0.3556, allocations: 10.98 kB / 432.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.356, allocations: 21.88 kB / 432.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3574, allocations: 1.31 MB / 433.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.3576, allocations: 0.6873 MB / 434.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.315e-05/0.3576, allocations: 2.312 kB / 434.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.3577, allocations: 19.77 kB / 434.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3577, allocations: 0 / 434.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.3832, allocations: 1.477 MB / 435.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/8.442, allocations: 5.156 kB / 435.9 MB, free: 8.105 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.873484594281763] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.51089248713106 8.533384393 8.410564331 Calling exit ...