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.00186/0.00186, 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.002253/0.002253, 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.381/1.381, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001871/0.001871, allocations: 56.78 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2754, allocations: 53.37 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002283/0.2777, allocations: 0.9281 MB / 432.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004018/0.2781, allocations: 147.5 kB / 433 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.2782, allocations: 0 / 433 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2783, allocations: 11.86 kB / 433 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.2784, allocations: 19.86 kB / 433 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.2786, allocations: 47.89 kB / 433.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.2788, allocations: 67.77 kB / 433.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.2789, allocations: 34.08 kB / 433.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.968e-05/0.279, allocations: 23.88 kB / 433.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.664e-05/0.2791, allocations: 47.81 kB / 433.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.2791, allocations: 4 kB / 433.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.2791, allocations: 4 kB / 433.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.2792, allocations: 31.86 kB / 433.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.2792, allocations: 43.67 kB / 433.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.2794, allocations: 99.45 kB / 433.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2794, allocations: 0 / 433.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2794, allocations: 0 / 433.4 MB, free: 5.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2794, allocations: 0 / 433.4 MB, free: 5.398 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.0005313/0.2799, allocations: 341.8 kB / 433.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.28, allocations: 12.03 kB / 433.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.28, allocations: 42.75 kB / 433.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.2801, allocations: 16.84 kB / 433.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.2803, allocations: 150.3 kB / 434 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2803, allocations: 8.375 kB / 434 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.2803, allocations: 4.375 kB / 434 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.2807, allocations: 250 kB / 434.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2807, allocations: 3.938 kB / 434.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.2808, allocations: 4 kB / 434.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2808, allocations: 0 / 434.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.817e-05/0.2808, allocations: 55.84 kB / 434.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.281, allocations: 164.6 kB / 434.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.2813, allocations: 145.3 kB / 434.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.2814, allocations: 76.83 kB / 434.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.2814, allocations: 4 kB / 434.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2814, allocations: 34.55 kB / 434.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.2814, allocations: 0 / 434.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003093/0.2817, allocations: 177.7 kB / 434.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.2818, allocations: 67.34 kB / 434.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.282, allocations: 162.7 kB / 435.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.282, allocations: 29.7 kB / 435.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.282, allocations: 96.45 kB / 435.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.2821, allocations: 11.94 kB / 435.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.2821, allocations: 33.72 kB / 435.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2823, allocations: 330.8 kB / 435.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.2823, allocations: 19.98 kB / 435.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.2824, allocations: 123.3 kB / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.2826, allocations: 157.5 kB / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2826, allocations: 0 / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002135/0.2828, allocations: 153.3 kB / 436 MB, free: 2.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2828, allocations: 12.44 kB / 436 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.2828, allocations: 8 kB / 436 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2828, allocations: 7.984 kB / 436.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.283, allocations: 31.94 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.283, allocations: 7.984 kB / 436.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.283, allocations: 23.77 kB / 436.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2831, allocations: 8 kB / 436.1 MB, free: 2.395 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.0001236/0.2832, allocations: 138.6 kB / 436.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.2834, allocations: 149.4 kB / 436.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.2834, allocations: 17.12 kB / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2834, allocations: 0 / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2834, allocations: 0 / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2834, allocations: 7.984 kB / 436.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.2835, allocations: 156.7 kB / 436.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2836, allocations: 11.98 kB / 436.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.2837, allocations: 27.98 kB / 436.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2837, allocations: 3.938 kB / 436.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2837, allocations: 4 kB / 436.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2837, allocations: 4 kB / 436.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2837, allocations: 3.938 kB / 436.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.2839, allocations: 164.9 kB / 436.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.2839, allocations: 27.83 kB / 436.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.284, allocations: 11.94 kB / 436.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.081e-05/0.284, allocations: 3.984 kB / 436.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-06/0.284, allocations: 0 / 436.8 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.284, allocations: 4 kB / 436.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.942e-05/0.2841, allocations: 119.2 kB / 437 MB, free: 1.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2841, allocations: 0 / 437 MB, free: 1.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.2843, allocations: 20 kB / 437 MB, free: 1.461 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.0006223/0.2849, allocations: 0.7677 MB / 437.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.2851, allocations: 103.8 kB / 437.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2851, allocations: 0 / 437.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.2851, allocations: 3.938 kB / 437.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.2855, allocations: 79.98 kB / 437.9 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.2871, allocations: 1.729 MB / 439.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2874, allocations: 0.7162 MB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.21e-05/0.2874, allocations: 5.094 kB / 440.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.2875, allocations: 31.42 kB / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2875, allocations: 4 kB / 440.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.312, allocations: 2.722 MB / 443.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.921, allocations: 11.61 kB / 443.1 MB, free: 11.19 MB / 350.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 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.344361840281636] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y[1]', 'assignClock1.y[2]'] 7.990870689973235 8.014580916 7.730816399 Calling exit ...