Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001266/0.001266, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001406/0.001406, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.371/1.371, 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.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001832/0.001832, allocations: 64.91 kB / 378.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2514, allocations: 53.38 MB / 431.9 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002374/0.2538, allocations: 0.924 MB / 432.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003906/0.2542, allocations: 135.5 kB / 433 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.2543, allocations: 7.938 kB / 433 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.2544, allocations: 11.86 kB / 433 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.2545, allocations: 7.938 kB / 433 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.2548, allocations: 51.88 kB / 433.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.2549, allocations: 59.84 kB / 433.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.255, allocations: 28.2 kB / 433.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.2551, allocations: 23.94 kB / 433.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.2551, allocations: 35.72 kB / 433.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.2552, allocations: 11.98 kB / 433.2 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.2552, allocations: 4 kB / 433.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.314e-05/0.2553, allocations: 27.92 kB / 433.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.2553, allocations: 39.73 kB / 433.3 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.2555, allocations: 89.83 kB / 433.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2555, allocations: 0 / 433.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2555, allocations: 0 / 433.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2555, allocations: 0 / 433.4 MB, free: 5.566 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.0005227/0.256, allocations: 317.9 kB / 433.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2561, allocations: 8.031 kB / 433.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.2561, allocations: 42.73 kB / 433.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.2562, allocations: 12.83 kB / 433.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.2564, allocations: 142.4 kB / 433.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.2564, allocations: 8.375 kB / 433.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2565, allocations: 4.375 kB / 433.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.2569, allocations: 237.9 kB / 434.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2569, allocations: 3.938 kB / 434.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2569, allocations: 7.938 kB / 434.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2569, allocations: 0 / 434.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.987e-05/0.257, allocations: 39.97 kB / 434.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.2572, allocations: 156.6 kB / 434.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.2574, allocations: 123 kB / 434.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.2575, allocations: 79.08 kB / 434.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.2576, allocations: 0 / 434.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.2576, allocations: 34.56 kB / 434.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.42e-07/0.2576, allocations: 3.938 kB / 434.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000317/0.2579, allocations: 161.4 kB / 434.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.258, allocations: 59.41 kB / 434.8 MB, free: 4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.2581, allocations: 152.3 kB / 434.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2581, allocations: 25.7 kB / 435 MB, free: 3.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.2582, allocations: 88.47 kB / 435 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.2582, allocations: 11.98 kB / 435.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.2583, allocations: 41.66 kB / 435.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2584, allocations: 322.8 kB / 435.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/0.2585, allocations: 16 kB / 435.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2586, allocations: 121.7 kB / 435.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.2587, allocations: 149.5 kB / 435.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2588, allocations: 0 / 435.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002224/0.259, allocations: 153.3 kB / 435.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.259, allocations: 7.938 kB / 435.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.259, allocations: 7.938 kB / 435.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.259, allocations: 4 kB / 435.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.935e-05/0.259, allocations: 12 kB / 435.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.2591, allocations: 12.42 kB / 435.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.2591, allocations: 11.89 kB / 435.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.2591, allocations: 12 kB / 435.9 MB, free: 2.734 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0001507/0.2593, allocations: 137.8 kB / 436 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.2595, allocations: 120.6 kB / 436.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.2595, allocations: 21.11 kB / 436.2 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2595, allocations: 4 kB / 436.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2595, allocations: 3.938 kB / 436.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2595, allocations: 0 / 436.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.2597, allocations: 160.7 kB / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2597, allocations: 0 / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.2597, allocations: 7.938 kB / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2597, allocations: 3.938 kB / 436.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2597, allocations: 4 kB / 436.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2597, allocations: 0 / 436.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2597, allocations: 4 kB / 436.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.2599, allocations: 145 kB / 436.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.26, allocations: 35.77 kB / 436.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.26, allocations: 4 kB / 436.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.392e-05/0.26, allocations: 4 kB / 436.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-06/0.26, allocations: 3.984 kB / 436.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.26, allocations: 4 kB / 436.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.504e-05/0.2601, allocations: 114.4 kB / 436.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2601, allocations: 0 / 436.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.2603, allocations: 19.94 kB / 436.7 MB, free: 1.883 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0006589/0.261, allocations: 0.7451 MB / 437.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.2612, allocations: 95.73 kB / 437.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2612, allocations: 0 / 437.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.6e-07/0.2612, allocations: 4.188 kB / 437.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.2616, allocations: 79.92 kB / 437.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.2632, allocations: 1.623 MB / 439.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.2636, allocations: 0.7123 MB / 439.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.512e-05/0.2636, allocations: 4.656 kB / 439.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.2637, allocations: 27.42 kB / 440 MB, free: 14.37 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2637, allocations: 7.938 kB / 440 MB, free: 14.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.2877, allocations: 2.526 MB / 442.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/7.925, allocations: 4.312 kB / 442.5 MB, free: 11.96 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.249112620018423] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y[1]', 'assignClock1.y[2]'] 7.992373731918633 8.010080987 7.751319808 Calling exit ...