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.AssignClockVectorized.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.001252/0.001252, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001431/0.001431, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.537/1.537, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",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.002293/0.002293, allocations: 64.77 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.313, allocations: 53.38 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002377/0.3154, allocations: 0.9203 MB / 432.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003984/0.3158, allocations: 147.5 kB / 433 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.3159, allocations: 4 kB / 433 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.316, allocations: 15.86 kB / 433 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.3161, allocations: 15.88 kB / 433 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.3164, allocations: 47.88 kB / 433.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.3165, allocations: 67.78 kB / 433.1 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3166, allocations: 23.98 kB / 433.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.3167, allocations: 31.84 kB / 433.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.205e-05/0.3168, allocations: 39.83 kB / 433.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3168, allocations: 4 kB / 433.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.3168, allocations: 8 kB / 433.2 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.3169, allocations: 27.86 kB / 433.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.3169, allocations: 51.73 kB / 433.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3171, allocations: 104.2 kB / 433.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3171, allocations: 0 / 433.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3171, allocations: 0 / 433.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3171, allocations: 4 kB / 433.4 MB, free: 5.406 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005712/0.3177, allocations: 337.8 kB / 433.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3177, allocations: 12.03 kB / 433.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.3178, allocations: 34.75 kB / 433.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.3178, allocations: 16.84 kB / 433.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.3181, allocations: 150.3 kB / 434 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3181, allocations: 8.375 kB / 434 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3181, allocations: 8.375 kB / 434 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.3185, allocations: 246 kB / 434.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3186, allocations: 7.938 kB / 434.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3186, allocations: 3.984 kB / 434.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3186, allocations: 0 / 434.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3187, allocations: 51.91 kB / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.3189, allocations: 168.6 kB / 434.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.3191, allocations: 138.9 kB / 434.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.3193, allocations: 80.77 kB / 434.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3193, allocations: 4 kB / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.3193, allocations: 34.55 kB / 434.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.3193, allocations: 0 / 434.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003457/0.3197, allocations: 180.4 kB / 434.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.3197, allocations: 67.34 kB / 434.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3199, allocations: 162.7 kB / 435.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3199, allocations: 29.7 kB / 435.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.32, allocations: 96.45 kB / 435.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.32, allocations: 11.95 kB / 435.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.3201, allocations: 33.7 kB / 435.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3202, allocations: 326.8 kB / 435.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/0.3203, allocations: 19.98 kB / 435.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3204, allocations: 121.7 kB / 435.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.3206, allocations: 153.5 kB / 435.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.3206, allocations: 4 kB / 435.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002489/0.3209, allocations: 157.3 kB / 436 MB, free: 2.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3209, allocations: 10.59 kB / 436 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3209, allocations: 4 kB / 436 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.3209, allocations: 7.984 kB / 436 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3211, allocations: 32.44 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.3211, allocations: 7.984 kB / 436.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/0.3212, allocations: 23.83 kB / 436.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.3212, allocations: 8 kB / 436.1 MB, free: 2.414 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001394/0.3213, allocations: 142.6 kB / 436.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.3215, allocations: 141.4 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.3216, allocations: 21.06 kB / 436.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3216, allocations: 4 kB / 436.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3216, allocations: 4 kB / 436.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3216, allocations: 0 / 436.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.3217, allocations: 164.7 kB / 436.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3217, allocations: 3.984 kB / 436.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3218, allocations: 27.98 kB / 436.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.3218, allocations: 7.938 kB / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3218, allocations: 0 / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3218, allocations: 0 / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3218, allocations: 0 / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.3221, allocations: 176 kB / 436.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.3221, allocations: 27.83 kB / 436.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.3222, allocations: 11.94 kB / 436.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.238e-05/0.3222, allocations: 3.984 kB / 436.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-06/0.3222, allocations: 0 / 436.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3222, allocations: 8 kB / 436.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.445e-05/0.3223, allocations: 115.2 kB / 437 MB, free: 1.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3223, allocations: 0 / 437 MB, free: 1.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.3226, allocations: 16 kB / 437 MB, free: 1.484 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0007053/0.3233, allocations: 0.7724 MB / 437.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.3235, allocations: 104.8 kB / 437.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3235, allocations: 0 / 437.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.3235, allocations: 3.938 kB / 437.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.3239, allocations: 85 kB / 437.9 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.3257, allocations: 1.729 MB / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.3261, allocations: 0.7162 MB / 440.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.972e-05/0.3262, allocations: 9.094 kB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.3262, allocations: 35.42 kB / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3262, allocations: 0 / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.3567, allocations: 2.723 MB / 443.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.442, allocations: 8.062 kB / 443.2 MB, free: 11.2 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.831242938060313] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y[1]', 'assignClock1.y[2]'] 8.515834087040275 8.540914067 8.219516278 Calling exit ...