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.001655/0.001655, 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.002071/0.002071, 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.526/1.526, 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.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.001934/0.001934, allocations: 67.84 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.124, allocations: 53.32 MB / 426.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003874/0.1279, allocations: 2.01 MB / 428.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.1302, allocations: 1.27 MB / 430.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.1304, allocations: 0 / 430.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000674/0.1311, allocations: 159.4 kB / 430.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004558/0.1315, allocations: 159.4 kB / 430.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.1322, allocations: 215.2 kB / 430.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.1325, allocations: 231.4 kB / 430.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1326, allocations: 28.3 kB / 430.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1328, allocations: 99.61 kB / 431 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1329, allocations: 107.5 kB / 431.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.133, allocations: 12 kB / 431.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.1331, allocations: 63.95 kB / 431.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-05/0.1332, allocations: 51.83 kB / 431.3 MB, free: 476 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.741e-05/0.1333, allocations: 87.42 kB / 431.3 MB, free: 388 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.1337, allocations: 266.8 kB / 431.6 MB, free: 120 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1337, allocations: 4 kB / 431.6 MB, free: 116 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1337, allocations: 0 / 431.6 MB, free: 116 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1337, allocations: 0 / 431.6 MB, free: 116 kB / 350.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.2024/0.3361, allocations: 0.5521 MB / 432.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3361, allocations: 9.031 kB / 432.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.3362, allocations: 46.8 kB / 432.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.3362, allocations: 31.5 kB / 432.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.3366, allocations: 287.7 kB / 432.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.3367, allocations: 17.75 kB / 432.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.3367, allocations: 13.2 kB / 432.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.3373, allocations: 303.5 kB / 432.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3373, allocations: 4.562 kB / 432.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.3373, allocations: 4.719 kB / 432.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3373, allocations: 3.094 kB / 432.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.3375, allocations: 59.33 kB / 432.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.338, allocations: 397.6 kB / 433.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.3383, allocations: 165.9 kB / 433.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.3385, allocations: 79.58 kB / 433.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.578e-05/0.3385, allocations: 10.39 kB / 433.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.3387, allocations: 75.67 kB / 433.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.3387, allocations: 0 / 433.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005299/0.3392, allocations: 226.5 kB / 433.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.3393, allocations: 139.9 kB / 434 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.3395, allocations: 285 kB / 434.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3395, allocations: 31.14 kB / 434.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.3396, allocations: 120 kB / 434.4 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.3396, allocations: 40.17 kB / 434.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.3397, allocations: 47.8 kB / 434.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.3398, allocations: 337.2 kB / 434.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.3398, allocations: 47.64 kB / 434.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.34, allocations: 158.5 kB / 435 MB, free: 9.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.3402, allocations: 211.7 kB / 435.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3402, allocations: 0.5 kB / 435.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002932/0.3405, allocations: 219.8 kB / 435.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3405, allocations: 9.109 kB / 435.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.3405, allocations: 4.5 kB / 435.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.3405, allocations: 5.75 kB / 435.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.3406, allocations: 27.02 kB / 435.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3406, allocations: 10.41 kB / 435.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3407, allocations: 20.81 kB / 435.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.3407, allocations: 10.25 kB / 435.5 MB, free: 9.293 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.0001452/0.3409, allocations: 166.2 kB / 435.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.3411, allocations: 127.3 kB / 435.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/0.3411, allocations: 33.36 kB / 435.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3411, allocations: 10.69 kB / 435.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3411, allocations: 4.969 kB / 435.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3411, allocations: 1.75 kB / 435.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.3413, allocations: 251.4 kB / 436.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3413, allocations: 0.9375 kB / 436.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.3414, allocations: 9.094 kB / 436.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3414, allocations: 1 kB / 436.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3414, allocations: 9.141 kB / 436.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3414, allocations: 3.625 kB / 436.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3414, allocations: 1.062 kB / 436.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.3417, allocations: 235.4 kB / 436.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.3418, allocations: 120.8 kB / 436.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.3418, allocations: 7.469 kB / 436.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.3419, allocations: 7.016 kB / 436.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.3419, allocations: 4.484 kB / 436.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3419, allocations: 11.5 kB / 436.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.3421, allocations: 205.4 kB / 436.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3421, allocations: 0 / 436.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.3424, allocations: 42.25 kB / 436.8 MB, free: 8.582 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.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * 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.002023/0.3444, allocations: 1.151 MB / 437.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.3448, allocations: 139.8 kB / 438.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3448, allocations: 5 kB / 438.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.822e-05/0.3448, allocations: 22.09 kB / 438.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.3453, allocations: 116.1 kB / 438.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.3478, allocations: 2.412 MB / 440.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.348, allocations: 0.7527 MB / 441.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.497e-05/0.3481, allocations: 36.05 kB / 441.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3482, allocations: 69.98 kB / 441.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3482, allocations: 0 / 441.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.3811, allocations: 5.677 MB / 447.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.397, allocations: 19.08 kB / 447.2 MB, free: 4.25 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=1.78926e-05 --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.944269985891879] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'and1.y'] 8.521341057028621 8.543677854 8.405620902 Calling exit ...