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.001303/0.001303, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.00151/0.00151, allocations: 214.9 kB / 23.48 MB, free: 5.23 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.431/1.431, allocations: 230.4 MB / 257 MB, free: 8.27 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.001951/0.001951, allocations: 67.89 kB / 377.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2605, allocations: 53.32 MB / 430.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002933/0.2635, allocations: 1.529 MB / 431.9 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003954/0.2639, allocations: 139.5 kB / 432.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.239e-05/0.264, allocations: 4 kB / 432.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.963e-05/0.264, allocations: 3.938 kB / 432.1 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.2641, allocations: 3.938 kB / 432.1 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.2643, allocations: 39.89 kB / 432.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.487e-05/0.2644, allocations: 27.92 kB / 432.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.2645, allocations: 12 kB / 432.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.2646, allocations: 19.91 kB / 432.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.2646, allocations: 19.86 kB / 432.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.2646, allocations: 4 kB / 432.2 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.2646, allocations: 4 kB / 432.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.2647, allocations: 11.94 kB / 432.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.2647, allocations: 19.88 kB / 432.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.2648, allocations: 47.58 kB / 432.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/0.2648, allocations: 8 kB / 432.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2648, allocations: 0 / 432.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2648, allocations: 0 / 432.3 MB, free: 5.355 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000437/0.2653, allocations: 379.5 kB / 432.6 MB, free: 4.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2653, allocations: 12.03 kB / 432.7 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.2653, allocations: 30.75 kB / 432.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.2654, allocations: 8.891 kB / 432.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.2656, allocations: 184.3 kB / 432.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.2656, allocations: 4.375 kB / 432.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.2656, allocations: 4.375 kB / 432.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.2659, allocations: 113.5 kB / 433 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2659, allocations: 3.938 kB / 433 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2659, allocations: 4 kB / 433 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2659, allocations: 3.984 kB / 433 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/0.266, allocations: 8 kB / 433 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.2663, allocations: 269.7 kB / 433.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.2665, allocations: 142.2 kB / 433.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.2665, allocations: 25.78 kB / 433.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.2665, allocations: 7.984 kB / 433.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2666, allocations: 38.5 kB / 433.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2666, allocations: 0 / 433.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002033/0.2668, allocations: 69.58 kB / 433.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.2668, allocations: 77.11 kB / 433.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.2669, allocations: 136.8 kB / 433.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.267, allocations: 29.83 kB / 433.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.267, allocations: 88.14 kB / 433.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.267, allocations: 3.984 kB / 433.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.2671, allocations: 21.67 kB / 433.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.2672, allocations: 318.8 kB / 434.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.2672, allocations: 8 kB / 434.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.927e-05/0.2672, allocations: 27.42 kB / 434.2 MB, free: 3.094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.665e-05/0.2673, allocations: 47.31 kB / 434.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.2673, allocations: 3.938 kB / 434.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001144/0.2674, allocations: 61.72 kB / 434.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2674, allocations: 8.031 kB / 434.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2675, allocations: 4.266 kB / 434.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2675, allocations: 4 kB / 434.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-06/0.2675, allocations: 3.938 kB / 434.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2675, allocations: 0 / 434.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.2675, allocations: 7.938 kB / 434.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.2675, allocations: 0 / 434.4 MB, free: 2.938 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: 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.609e-05/0.2676, allocations: 121.8 kB / 434.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.2677, allocations: 53.62 kB / 434.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.2677, allocations: 11.91 kB / 434.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2677, allocations: 0 / 434.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2677, allocations: 11.92 kB / 434.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2677, allocations: 0 / 434.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.2679, allocations: 165.6 kB / 434.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2679, allocations: 3.984 kB / 434.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-06/0.2679, allocations: 0 / 434.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2679, allocations: 4 kB / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.2679, allocations: 0 / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2679, allocations: 0 / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2679, allocations: 4 kB / 434.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.2681, allocations: 160.3 kB / 434.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.2681, allocations: 93.05 kB / 435 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.2682, allocations: 4 kB / 435 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.73e-05/0.2682, allocations: 3.984 kB / 435 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.2682, allocations: 3.938 kB / 435 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.2682, allocations: 12 kB / 435 MB, free: 2.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.2683, allocations: 99.27 kB / 435.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2683, allocations: 0 / 435.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.2685, allocations: 4 kB / 435.1 MB, free: 2.09 MB / 334.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.0004817/0.269, allocations: 0.7054 MB / 435.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.2691, allocations: 23.92 kB / 435.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2691, allocations: 0 / 435.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.316e-05/0.2691, allocations: 4 kB / 435.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.2695, allocations: 27.89 kB / 435.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2707, allocations: 1.299 MB / 437.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.271, allocations: 0.6924 MB / 437.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.683e-05/0.271, allocations: 0 / 437.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.271, allocations: 23.42 kB / 437.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.271, allocations: 0 / 437.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.2916, allocations: 1.454 MB / 439.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.883, allocations: 14.88 kB / 439.4 MB, free: 13.78 MB / 350.1 MB " [Timeout remaining time 652] (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.105147065129131] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 7.9518786310218275 7.98275314 7.71246596 Calling exit ...