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.001279/0.001279, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001502/0.001502, allocations: 210.8 kB / 24.52 MB, free: 3.914 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.452/1.452, allocations: 230.5 MB / 258.2 MB, free: 7.762 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.001829/0.001829, allocations: 67.89 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3682, allocations: 53.41 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.00411/0.3723, allocations: 1.975 MB / 433.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.3748, allocations: 1.192 MB / 435.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.3749, allocations: 7.938 kB / 435.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006838/0.3756, allocations: 158.4 kB / 435.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004631/0.3761, allocations: 167.3 kB / 435.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.3767, allocations: 215.3 kB / 435.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.377, allocations: 227.4 kB / 435.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3772, allocations: 36.56 kB / 435.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.3773, allocations: 95.56 kB / 436 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.3775, allocations: 103.5 kB / 436.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.3775, allocations: 12 kB / 436.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.3777, allocations: 75.83 kB / 436.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3778, allocations: 59.81 kB / 436.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.3779, allocations: 71.48 kB / 436.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004317/0.3783, allocations: 257.2 kB / 436.5 MB, free: 1.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.3783, allocations: 4 kB / 436.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3783, allocations: 0 / 436.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3783, allocations: 3.938 kB / 436.5 MB, free: 1.84 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.0009873/0.3793, allocations: 498.5 kB / 437 MB, free: 1.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3794, allocations: 8.031 kB / 437 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.455e-05/0.3794, allocations: 4.188 kB / 437 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.101e-05/0.3795, allocations: 46.75 kB / 437.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.652e-05/0.3795, allocations: 32.78 kB / 437.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.38, allocations: 229 kB / 437.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.38, allocations: 12.38 kB / 437.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.38, allocations: 12.38 kB / 437.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006922/0.3807, allocations: 335.1 kB / 437.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3807, allocations: 0 / 437.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.3807, allocations: 4 kB / 437.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.3808, allocations: 4 kB / 437.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.3809, allocations: 59.91 kB / 437.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.3815, allocations: 345.5 kB / 438.1 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.3819, allocations: 163.8 kB / 438.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.382, allocations: 78.67 kB / 438.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.3821, allocations: 8.062 kB / 438.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.3823, allocations: 79.38 kB / 438.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.033e-06/0.3823, allocations: 0 / 438.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005293/0.3828, allocations: 229.3 kB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.3829, allocations: 140.9 kB / 438.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.3832, allocations: 293 kB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3833, allocations: 29.7 kB / 439.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3834, allocations: 124.6 kB / 439.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.3834, allocations: 43.69 kB / 439.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/0.3835, allocations: 49.94 kB / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3837, allocations: 342.8 kB / 439.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.88e-05/0.3838, allocations: 44.39 kB / 439.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.384, allocations: 217.5 kB / 439.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.3843, allocations: 207.2 kB / 440.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3843, allocations: 0 / 440.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003642/0.3846, allocations: 237.7 kB / 440.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3847, allocations: 8 kB / 440.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3847, allocations: 4 kB / 440.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3847, allocations: 4 kB / 440.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3848, allocations: 27.92 kB / 440.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.3848, allocations: 11.94 kB / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.3849, allocations: 15.95 kB / 440.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.385, allocations: 11.94 kB / 440.4 MB, free: 13.57 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.0001771/0.3851, allocations: 168 kB / 440.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.3853, allocations: 129.4 kB / 440.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.3856, allocations: 119.3 kB / 440.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3856, allocations: 4 kB / 440.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3856, allocations: 0 / 440.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3856, allocations: 7.984 kB / 440.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.3859, allocations: 208.5 kB / 441 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3859, allocations: 0 / 441 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.3859, allocations: 12 kB / 441 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3859, allocations: 0 / 441 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.386, allocations: 11.98 kB / 441.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.386, allocations: 0 / 441.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.386, allocations: 7.938 kB / 441.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.3864, allocations: 230.5 kB / 441.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.3865, allocations: 39.83 kB / 441.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.3865, allocations: 4 kB / 441.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.3866, allocations: 8 kB / 441.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.3866, allocations: 7.984 kB / 441.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.3867, allocations: 12 kB / 441.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.3869, allocations: 204.5 kB / 441.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3869, allocations: 11.94 kB / 441.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003403/0.3873, allocations: 47.92 kB / 441.6 MB, free: 12.27 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 (23): * Single equations (assignments): 21 * 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.002557/0.3898, allocations: 1.194 MB / 442.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003644/0.3902, allocations: 140.8 kB / 443 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3902, allocations: 0 / 443 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.667e-05/0.3903, allocations: 31.97 kB / 443 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.3908, allocations: 125.8 kB / 443.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.3939, allocations: 2.42 MB / 445.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.394, allocations: 145.4 kB / 445.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.3941, allocations: 30.67 kB / 445.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.3943, allocations: 71.41 kB / 445.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3943, allocations: 288 / 445.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.4227, allocations: 6.178 MB / 451.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.42, allocations: 7.922 kB / 452 MB, free: 1.906 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.024851761059836] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'and1.y'] 11.636797712999396 11.662444257 11.27935481 Calling exit ...