Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001588/0.001588, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001979/0.001979, allocations: 216.5 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 59.91 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3676, allocations: 53.41 MB / 432 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003891/0.3715, allocations: 2.03 MB / 434 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.3741, allocations: 1.281 MB / 435.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.3743, allocations: 3.938 kB / 435.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008247/0.3751, allocations: 167.4 kB / 435.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.3757, allocations: 166.7 kB / 435.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008341/0.3765, allocations: 211.4 kB / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.3769, allocations: 235.4 kB / 436 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.3771, allocations: 28.58 kB / 436.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.3772, allocations: 99.56 kB / 436.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.3774, allocations: 107.5 kB / 436.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.3774, allocations: 12 kB / 436.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.3776, allocations: 67.95 kB / 436.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.3777, allocations: 55.72 kB / 436.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.3778, allocations: 95.39 kB / 436.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.3783, allocations: 255.3 kB / 436.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3783, allocations: 4 kB / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3783, allocations: 0 / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3783, allocations: 0 / 436.8 MB, free: 1.871 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.0009003/0.3792, allocations: 498.5 kB / 437.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3792, allocations: 8.031 kB / 437.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.724e-05/0.3792, allocations: 8.125 kB / 437.3 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.3793, allocations: 46.73 kB / 437.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.3793, allocations: 28.75 kB / 437.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.3797, allocations: 233 kB / 437.6 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.3797, allocations: 16.38 kB / 437.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.3798, allocations: 12.38 kB / 437.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.3804, allocations: 297.5 kB / 437.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3804, allocations: 3.984 kB / 437.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.3804, allocations: 8 kB / 437.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3804, allocations: 0 / 437.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.3806, allocations: 67.89 kB / 438 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006547/0.3812, allocations: 365.4 kB / 438.3 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.3816, allocations: 160 kB / 438.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.3817, allocations: 82.48 kB / 438.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.3818, allocations: 7.984 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.382, allocations: 71.39 kB / 438.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.324e-06/0.382, allocations: 0 / 438.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005738/0.3825, allocations: 229.4 kB / 438.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.3827, allocations: 144.5 kB / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.383, allocations: 281 kB / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.383, allocations: 33.7 kB / 439.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3832, allocations: 120.6 kB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.3832, allocations: 31.78 kB / 439.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.3833, allocations: 49.94 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3835, allocations: 342.8 kB / 439.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.479e-05/0.3835, allocations: 40.45 kB / 439.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.3838, allocations: 178 kB / 440 MB, free: 14.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.384, allocations: 191.9 kB / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.384, allocations: 0 / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00039/0.3844, allocations: 229.2 kB / 440.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3845, allocations: 8 kB / 440.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3845, allocations: 11.92 kB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.3845, allocations: 7.938 kB / 440.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.3846, allocations: 27.88 kB / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.3846, allocations: 7.984 kB / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.3847, allocations: 16.45 kB / 440.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.3848, allocations: 19.94 kB / 440.6 MB, free: 13.69 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.0002003/0.385, allocations: 163.9 kB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.3852, allocations: 129.4 kB / 440.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.3854, allocations: 115.3 kB / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3854, allocations: 4 kB / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3854, allocations: 0 / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3854, allocations: 0 / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.3857, allocations: 228.5 kB / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3857, allocations: 0 / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.3857, allocations: 11.94 kB / 441.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.3857, allocations: 3.984 kB / 441.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.3858, allocations: 11.98 kB / 441.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3858, allocations: 0 / 441.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3858, allocations: 0 / 441.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.3861, allocations: 237.9 kB / 441.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.3862, allocations: 35.83 kB / 441.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.3862, allocations: 8.125 kB / 441.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.3863, allocations: 8 kB / 441.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.3864, allocations: 7.984 kB / 441.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.3864, allocations: 15.94 kB / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.3866, allocations: 200.5 kB / 441.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3866, allocations: 0 / 441.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.3869, allocations: 47.94 kB / 441.8 MB, free: 12.4 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.002301/0.3892, allocations: 1.157 MB / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003619/0.3896, allocations: 139.8 kB / 443.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3896, allocations: 0 / 443.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.3896, allocations: 23.92 kB / 443.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.3902, allocations: 113.6 kB / 443.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.3932, allocations: 2.401 MB / 445.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.3936, allocations: 0.7558 MB / 446.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.3937, allocations: 26.3 kB / 446.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.3938, allocations: 67.41 kB / 446.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3938, allocations: 0 / 446.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.4234, allocations: 5.974 MB / 452.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.46, allocations: 8.75 kB / 452.4 MB, free: 1.695 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.78926e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.14111505704932] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'and1.y'] 11.685252699011471 11.700860549 11.319324905 Calling exit ...