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.UpSample.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.001492/0.001492, allocations: 108.5 kB / 19.8 MB, free: 2.5 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.00142/0.00142, allocations: 217 kB / 23 MB, free: 5.582 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.383/1.383, allocations: 230.5 MB / 256.5 MB, free: 8.246 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.UpSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",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.001883/0.001883, allocations: 75.77 kB / 376.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2575, allocations: 53.31 MB / 429.5 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003586/0.2611, allocations: 2.038 MB / 431.6 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.2632, allocations: 1.274 MB / 432.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2634, allocations: 11.94 kB / 432.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.264, allocations: 155.4 kB / 433 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.2643, allocations: 159.4 kB / 433.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.2649, allocations: 205.9 kB / 433.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.2652, allocations: 231.4 kB / 433.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.2653, allocations: 36.28 kB / 433.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.2654, allocations: 91.62 kB / 433.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.2656, allocations: 107.5 kB / 433.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.2656, allocations: 12 kB / 433.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.2657, allocations: 67.84 kB / 433.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.2658, allocations: 51.83 kB / 433.9 MB, free: 3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.2659, allocations: 87.41 kB / 434 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.2663, allocations: 267.2 kB / 434.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2663, allocations: 4 kB / 434.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2663, allocations: 0 / 434.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.2663, allocations: 4 kB / 434.3 MB, free: 2.652 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.000785/0.2671, allocations: 0.5504 MB / 434.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2671, allocations: 12.03 kB / 434.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.2672, allocations: 46.73 kB / 434.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.2672, allocations: 32.75 kB / 434.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.2676, allocations: 290.9 kB / 435.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.2676, allocations: 16.36 kB / 435.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.2677, allocations: 19.92 kB / 435.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.2682, allocations: 302.4 kB / 435.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.2682, allocations: 0 / 435.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.2682, allocations: 8 kB / 435.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2682, allocations: 0 / 435.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.2684, allocations: 59.91 kB / 435.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.2689, allocations: 390.3 kB / 436 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.2692, allocations: 168 kB / 436.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.2694, allocations: 78.53 kB / 436.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.2694, allocations: 8.062 kB / 436.2 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.2696, allocations: 79.31 kB / 436.3 MB, free: 404 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.2696, allocations: 0 / 436.3 MB, free: 404 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004963/0.2701, allocations: 225.4 kB / 436.5 MB, free: 172 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.2702, allocations: 144.5 kB / 436.7 MB, free: 16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.2705, allocations: 281.3 kB / 437 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.2705, allocations: 33.7 kB / 437 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.2706, allocations: 120.6 kB / 437.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.2707, allocations: 31.83 kB / 437.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.2707, allocations: 53.88 kB / 437.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2709, allocations: 342.8 kB / 437.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.271, allocations: 36.45 kB / 437.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.2712, allocations: 172.9 kB / 437.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.2714, allocations: 203.2 kB / 437.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.2714, allocations: 0 / 437.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000369/0.2718, allocations: 225.4 kB / 438.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2718, allocations: 8 kB / 438.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2718, allocations: 8 kB / 438.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2719, allocations: 4 kB / 438.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.2719, allocations: 23.92 kB / 438.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.272, allocations: 4.531 kB / 438.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.2721, allocations: 35.75 kB / 438.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.2721, allocations: 12 kB / 438.2 MB, free: 14.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 0.0001637/0.2722, allocations: 164 kB / 438.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.2725, allocations: 129.4 kB / 438.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.2727, allocations: 111.4 kB / 438.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.2727, allocations: 7.984 kB / 438.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2727, allocations: 0 / 438.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.2727, allocations: 7.938 kB / 438.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.2729, allocations: 241.5 kB / 438.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2729, allocations: 0 / 438.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.273, allocations: 15.94 kB / 438.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.273, allocations: 0 / 438.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.273, allocations: 4 kB / 438.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.273, allocations: 3.984 kB / 438.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.273, allocations: 0 / 438.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.2734, allocations: 240.7 kB / 439.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.2735, allocations: 120.9 kB / 439.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.2735, allocations: 8 kB / 439.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.2736, allocations: 4 kB / 439.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.2736, allocations: 11.98 kB / 439.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.2736, allocations: 4.062 kB / 439.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.2739, allocations: 208.4 kB / 439.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2739, allocations: 4.094 kB / 439.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.2742, allocations: 47.88 kB / 439.5 MB, free: 12.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002138/0.2763, allocations: 1.15 MB / 440.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.2766, allocations: 139.7 kB / 440.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2766, allocations: 0 / 440.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.2767, allocations: 25.05 kB / 440.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.2771, allocations: 115.2 kB / 441 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.2799, allocations: 2.42 MB / 443.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.2803, allocations: 0.7519 MB / 444.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.855e-05/0.2804, allocations: 30.28 kB / 444.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.2805, allocations: 63.41 kB / 444.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2805, allocations: 0 / 444.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.309, allocations: 5.703 MB / 449.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.307, allocations: 7.984 kB / 449.9 MB, free: 2.441 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.582164419000037] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'and1.y'] 8.429249878012342 8.444189159 8.174382021 Calling exit ...