Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001314/0.001314, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001424/0.001424, allocations: 207.6 kB / 24.53 MB, free: 4.07 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.556/1.556, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.IntegerSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_UpSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_UpSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.89 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3321, allocations: 53.41 MB / 432 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.004225/0.3363, allocations: 2.007 MB / 434 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.3388, allocations: 1.367 MB / 435.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.339, allocations: 15.88 kB / 435.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.3393, allocations: 63.61 kB / 435.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.3397, allocations: 151.4 kB / 435.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008126/0.3405, allocations: 278.7 kB / 435.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000323/0.3409, allocations: 223.4 kB / 436.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.341, allocations: 36.56 kB / 436.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.3412, allocations: 99.5 kB / 436.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.3413, allocations: 111.6 kB / 436.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.3414, allocations: 12 kB / 436.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.3415, allocations: 79.94 kB / 436.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.3416, allocations: 71.69 kB / 436.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3417, allocations: 103.3 kB / 436.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.3422, allocations: 295.7 kB / 436.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3422, allocations: 3.938 kB / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3422, allocations: 4 kB / 436.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3422, allocations: 0 / 436.9 MB, free: 1.793 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.0009288/0.3431, allocations: 0.5217 MB / 437.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3432, allocations: 8.031 kB / 437.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.66e-05/0.3432, allocations: 4.188 kB / 437.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.3432, allocations: 50.67 kB / 437.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.3433, allocations: 32.75 kB / 437.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.3437, allocations: 266.4 kB / 437.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.3437, allocations: 8.375 kB / 437.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.3437, allocations: 16.38 kB / 437.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005999/0.3443, allocations: 314.3 kB / 438.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3444, allocations: 0 / 438.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.3444, allocations: 7.938 kB / 438.1 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3444, allocations: 8 kB / 438.1 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.3446, allocations: 67.95 kB / 438.1 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.3452, allocations: 389.4 kB / 438.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.3455, allocations: 188 kB / 438.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.3457, allocations: 78.55 kB / 438.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.3457, allocations: 7.984 kB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.3459, allocations: 83.33 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.3459, allocations: 0 / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005725/0.3465, allocations: 253.3 kB / 439.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.3466, allocations: 174.4 kB / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.347, allocations: 356.1 kB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.3471, allocations: 29.7 kB / 439.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.3472, allocations: 140.6 kB / 439.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.3472, allocations: 23.84 kB / 439.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.3473, allocations: 61.83 kB / 439.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3474, allocations: 342.8 kB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3476, allocations: 44.44 kB / 440.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.3478, allocations: 190.9 kB / 440.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.348, allocations: 207.4 kB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.3481, allocations: 12.38 kB / 440.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003941/0.3484, allocations: 229.1 kB / 440.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3485, allocations: 4.531 kB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3485, allocations: 12.03 kB / 440.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.3485, allocations: 15.92 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.3487, allocations: 35.92 kB / 441 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.3487, allocations: 15.88 kB / 441 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.3488, allocations: 15.89 kB / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.3488, allocations: 15.98 kB / 441 MB, free: 13.25 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.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,sum.y,sum.u[2],sum.u[1],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.0001918/0.349, allocations: 171.8 kB / 441.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.3492, allocations: 145.4 kB / 441.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.3495, allocations: 123.5 kB / 441.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.3496, allocations: 4 kB / 441.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3496, allocations: 3.938 kB / 441.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3496, allocations: 3.984 kB / 441.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.3499, allocations: 248.4 kB / 441.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3499, allocations: 0 / 441.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.35, allocations: 27.98 kB / 441.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.35, allocations: 0 / 441.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.35, allocations: 8 kB / 441.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.35, allocations: 4 kB / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.35, allocations: 3.938 kB / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.3504, allocations: 250 kB / 442 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.3505, allocations: 51.84 kB / 442 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.3506, allocations: 8 kB / 442 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.3507, allocations: 15.98 kB / 442.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.3507, allocations: 11.98 kB / 442.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.3508, allocations: 7.938 kB / 442.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002817/0.3511, allocations: 259 kB / 442.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3511, allocations: 0 / 442.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003426/0.3514, allocations: 47.94 kB / 442.4 MB, free: 11.8 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.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.002353/0.3537, allocations: 1.183 MB / 443.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.3541, allocations: 156.7 kB / 443.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3541, allocations: 0 / 443.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.3542, allocations: 27.98 kB / 443.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.3547, allocations: 124.7 kB / 443.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.3582, allocations: 2.731 MB / 446.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.3586, allocations: 0.7753 MB / 447.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.3587, allocations: 30.28 kB / 447.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.3589, allocations: 79.41 kB / 447.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3589, allocations: 4 kB / 447.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.3888, allocations: 6.779 MB / 454.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.68, allocations: 15.84 kB / 454.3 MB, free: 15.85 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_UpSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.78784e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_UpSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.337670039036311] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'sum.y'] 11.905791441036854 11.923415929 11.578098496 Calling exit ...