Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001507/0.001507, 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.001598/0.001598, 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.495/1.495, allocations: 230.5 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.IntegerSignals.UpSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001984/0.001984, allocations: 71.83 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.104, allocations: 53.31 MB / 426.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003709/0.1077, allocations: 1.987 MB / 428.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.11, allocations: 1.364 MB / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1101, allocations: 7.938 kB / 430.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.1104, allocations: 67.59 kB / 430.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004001/0.1108, allocations: 147.4 kB / 430.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008181/0.1117, allocations: 263 kB / 430.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.112, allocations: 223.4 kB / 430.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1121, allocations: 36.28 kB / 431 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.1123, allocations: 99.55 kB / 431.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1124, allocations: 119.5 kB / 431.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.1125, allocations: 12 kB / 431.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.1126, allocations: 75.94 kB / 431.3 MB, free: 492 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.455e-05/0.1127, allocations: 67.7 kB / 431.3 MB, free: 424 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1128, allocations: 99.34 kB / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.1132, allocations: 294.8 kB / 431.7 MB, free: 28 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1132, allocations: 0 / 431.7 MB, free: 28 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1132, allocations: 0 / 431.7 MB, free: 28 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1132, allocations: 0 / 431.7 MB, free: 28 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.1968/0.3101, allocations: 0.5972 MB / 432.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3101, allocations: 10.84 kB / 432.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.3102, allocations: 47.48 kB / 432.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.3102, allocations: 32.06 kB / 432.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.3106, allocations: 314.2 kB / 432.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.3106, allocations: 14.03 kB / 432.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.3107, allocations: 14.69 kB / 432.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.3113, allocations: 318.3 kB / 433 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3113, allocations: 5.406 kB / 433 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.3113, allocations: 4 kB / 433 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.3113, allocations: 7.359 kB / 433.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.3115, allocations: 73.66 kB / 433.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.312, allocations: 420.5 kB / 433.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.3123, allocations: 189.4 kB / 433.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3125, allocations: 87.19 kB / 433.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.3125, allocations: 7.547 kB / 433.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.3126, allocations: 81.88 kB / 433.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.3126, allocations: 0 / 433.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005134/0.3132, allocations: 260.3 kB / 434.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.3132, allocations: 169.5 kB / 434.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.3136, allocations: 354.3 kB / 434.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3136, allocations: 30.23 kB / 434.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.3137, allocations: 134.2 kB / 434.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.3137, allocations: 35.22 kB / 434.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.3138, allocations: 56.75 kB / 434.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.3138, allocations: 343.9 kB / 435.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.3139, allocations: 42.47 kB / 435.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3141, allocations: 187.5 kB / 435.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.3143, allocations: 208.8 kB / 435.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3143, allocations: 1 kB / 435.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003557/0.3147, allocations: 238.7 kB / 435.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3147, allocations: 7.109 kB / 435.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3147, allocations: 4.031 kB / 435.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3147, allocations: 7.188 kB / 435.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.3149, allocations: 45.7 kB / 436 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3149, allocations: 5.281 kB / 436 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.315, allocations: 17.36 kB / 436 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.315, allocations: 14.97 kB / 436 MB, free: 9.18 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.0001471/0.3151, allocations: 177.8 kB / 436.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.3153, allocations: 143.6 kB / 436.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.529e-05/0.3154, allocations: 33.94 kB / 436.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3154, allocations: 11.38 kB / 436.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3154, allocations: 2.031 kB / 436.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3154, allocations: 6.875 kB / 436.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.3156, allocations: 273.1 kB / 436.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3156, allocations: 1 kB / 436.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.3158, allocations: 28.36 kB / 436.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3158, allocations: 1.062 kB / 436.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.3158, allocations: 10.75 kB / 436.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3158, allocations: 2.406 kB / 436.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3158, allocations: 0 / 436.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.3162, allocations: 254.9 kB / 436.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.3163, allocations: 127.6 kB / 437.1 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.3163, allocations: 10.69 kB / 437.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.3164, allocations: 3.312 kB / 437.1 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.3165, allocations: 11.55 kB / 437.1 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.3165, allocations: 7.906 kB / 437.1 MB, free: 8.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002533/0.3167, allocations: 259.7 kB / 437.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3167, allocations: 3.938 kB / 437.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.3171, allocations: 50.7 kB / 437.4 MB, free: 8.352 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.nextTimeEventScaled,table.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.002136/0.3192, allocations: 1.193 MB / 438.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.3196, allocations: 153.4 kB / 438.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3196, allocations: 0 / 438.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.3197, allocations: 31.19 kB / 438.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.3202, allocations: 134.3 kB / 438.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.3235, allocations: 2.713 MB / 441.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.3238, allocations: 0.7736 MB / 442.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.324, allocations: 31.09 kB / 442.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.3241, allocations: 84.92 kB / 442.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3241, allocations: 0 / 442.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.3584, allocations: 6.487 MB / 449 MB, free: 3.871 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/8.739, allocations: 13.16 kB / 449 MB, free: 3.859 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_UpSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.78784e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_UpSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.170780728105456] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'sum.y'] 8.866318843327463 8.889523518 8.772043077 Calling exit ...