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.00162/0.00162, 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.00192/0.00192, 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001993/0.001993, allocations: 68.77 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.25, allocations: 53.37 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002555/0.2525, allocations: 0.9385 MB / 432.9 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00039/0.2529, allocations: 135.5 kB / 433 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.253, allocations: 3.938 kB / 433 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.925e-05/0.2531, allocations: 3.938 kB / 433 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.2532, allocations: 15.86 kB / 433 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.2534, allocations: 47.84 kB / 433.1 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.2536, allocations: 67.81 kB / 433.1 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2537, allocations: 28.22 kB / 433.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.831e-05/0.2537, allocations: 23.92 kB / 433.2 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.2538, allocations: 35.78 kB / 433.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2538, allocations: 4 kB / 433.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.2538, allocations: 4 kB / 433.2 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.307e-05/0.2539, allocations: 27.92 kB / 433.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.2539, allocations: 43.72 kB / 433.3 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.2541, allocations: 88.64 kB / 433.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2541, allocations: 0 / 433.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2541, allocations: 0 / 433.4 MB, free: 5.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.2541, allocations: 4 kB / 433.4 MB, free: 5.445 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.0004254/0.2545, allocations: 321.6 kB / 433.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2546, allocations: 12.03 kB / 433.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.2546, allocations: 34.75 kB / 433.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.2546, allocations: 16.84 kB / 433.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.2549, allocations: 138.3 kB / 433.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.2549, allocations: 8.375 kB / 433.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.2549, allocations: 12.38 kB / 433.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.2553, allocations: 225.9 kB / 434.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2554, allocations: 3.938 kB / 434.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2554, allocations: 4 kB / 434.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.2554, allocations: 7.938 kB / 434.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.2555, allocations: 31.98 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.2556, allocations: 164.6 kB / 434.3 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.2559, allocations: 118.6 kB / 434.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.256, allocations: 69.2 kB / 434.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.256, allocations: 4 kB / 434.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.256, allocations: 42.55 kB / 434.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.2561, allocations: 0 / 434.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003063/0.2564, allocations: 156.3 kB / 434.7 MB, free: 3.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.2564, allocations: 63.34 kB / 434.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2566, allocations: 141.8 kB / 434.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2566, allocations: 25.7 kB / 434.9 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.2566, allocations: 92.45 kB / 435 MB, free: 3.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.2567, allocations: 7.953 kB / 435 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.2567, allocations: 49.64 kB / 435.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2569, allocations: 318.8 kB / 435.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/0.2569, allocations: 19.98 kB / 435.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.2571, allocations: 120.4 kB / 435.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.2572, allocations: 149.5 kB / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.2572, allocations: 4 kB / 435.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002282/0.2575, allocations: 153.7 kB / 435.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.2575, allocations: 11.94 kB / 435.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2575, allocations: 4 kB / 435.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.2575, allocations: 4 kB / 435.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.159e-05/0.2575, allocations: 15.92 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2576, allocations: 8 kB / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/0.2576, allocations: 11.89 kB / 435.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.2576, allocations: 15.94 kB / 435.9 MB, free: 2.621 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.000155/0.2578, allocations: 133.9 kB / 436 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.258, allocations: 129.4 kB / 436.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/0.258, allocations: 17.12 kB / 436.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.258, allocations: 3.984 kB / 436.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.258, allocations: 0 / 436.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.258, allocations: 3.984 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.2582, allocations: 156.7 kB / 436.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2582, allocations: 0 / 436.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.2582, allocations: 7.984 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2582, allocations: 3.938 kB / 436.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.2582, allocations: 8 kB / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2582, allocations: 0 / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2582, allocations: 0 / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.2584, allocations: 151.6 kB / 436.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.2585, allocations: 39.73 kB / 436.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.2585, allocations: 4 kB / 436.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.2585, allocations: 4 kB / 436.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-06/0.2585, allocations: 0 / 436.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.2585, allocations: 4 kB / 436.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.005e-05/0.2586, allocations: 107.2 kB / 436.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2586, allocations: 4 kB / 436.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.2589, allocations: 16 kB / 436.7 MB, free: 1.77 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.0006827/0.2595, allocations: 0.7451 MB / 437.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.2598, allocations: 83.84 kB / 437.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2598, allocations: 0 / 437.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.2598, allocations: 3.938 kB / 437.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.2602, allocations: 88.22 kB / 437.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.2619, allocations: 1.629 MB / 439.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.2624, allocations: 0.7122 MB / 439.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.552e-05/0.2624, allocations: 8.641 kB / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.2625, allocations: 27.44 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2625, allocations: 0 / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.2909, allocations: 2.527 MB / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.296, allocations: 7.578 kB / 442.5 MB, free: 11.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_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_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.599062965251505] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y[1]', 'assignClock1.y[2]'] 8.364860800094903 8.38212537 8.124553541 Calling exit ...