Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001805, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008437/0.0008437, allocations: 98.19 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.53e-05/2.533e-05, allocations: 4 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 51.47 MB / 395.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4668, allocations: 76.84 MB / 472.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.4671, allocations: 77.47 kB / 472.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00386/0.4709, allocations: 1.59 MB / 473.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.4709, allocations: 0 / 473.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.471, allocations: 15.11 kB / 473.8 MB, free: 13.2 MB / 346.7 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.0002836/0.4713, allocations: 359.8 kB / 474.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4713, allocations: 8.031 kB / 474.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.4714, allocations: 15.81 kB / 474.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.4716, allocations: 196.9 kB / 474.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.4716, allocations: 0 / 474.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.4716, allocations: 11.61 kB / 474.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001144/0.4717, allocations: 35.55 kB / 474.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.4721, allocations: 181.8 kB / 474.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4721, allocations: 3.953 kB / 474.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4721, allocations: 0 / 474.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4721, allocations: 4 kB / 474.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.4722, allocations: 152.6 kB / 474.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.4724, allocations: 122 kB / 474.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.4725, allocations: 66.28 kB / 474.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.4726, allocations: 0 / 474.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.4726, allocations: 38.36 kB / 475 MB, free: 12.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.4726, allocations: 0 / 475 MB, free: 12.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002055/0.4728, allocations: 105.8 kB / 475.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.4729, allocations: 69.89 kB / 475.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.473, allocations: 126.9 kB / 475.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.473, allocations: 25.7 kB / 475.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.992e-05/0.473, allocations: 88.42 kB / 475.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.4731, allocations: 14.58 kB / 475.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.4731, allocations: 0 / 475.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.4731, allocations: 326.8 kB / 475.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.4732, allocations: 12.11 kB / 475.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.4732, allocations: 112 kB / 475.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/0.4733, allocations: 34.84 kB / 475.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4733, allocations: 8 kB / 475.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001709/0.4735, allocations: 125.6 kB / 476 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4735, allocations: 9.203 kB / 476 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4735, allocations: 8 kB / 476 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4735, allocations: 4 kB / 476 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.184e-05/0.4736, allocations: 13.58 kB / 476 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4736, allocations: 9.344 kB / 476 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.4737, allocations: 4 kB / 476 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4737, allocations: 8 kB / 476 MB, free: 11 MB / 346.7 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,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/0.4738, allocations: 123.5 kB / 476.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001297/0.4739, allocations: 102.9 kB / 476.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.4739, allocations: 15.81 kB / 476.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.474, allocations: 18.16 kB / 476.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.474, allocations: 4 kB / 476.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.474, allocations: 3.922 kB / 476.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.474, allocations: 4.609 kB / 476.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.651e-05/0.4741, allocations: 152 kB / 476.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4741, allocations: 0 / 476.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.4741, allocations: 8.5 kB / 476.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4741, allocations: 4.594 kB / 476.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.4741, allocations: 0 / 476.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4741, allocations: 0.6094 kB / 476.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4742, allocations: 4 kB / 476.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.4743, allocations: 138.8 kB / 476.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.4744, allocations: 103.8 kB / 476.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.4744, allocations: 0.6562 kB / 476.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.756e-05/0.4744, allocations: 0 / 476.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.4744, allocations: 0 / 476.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.4745, allocations: 4.656 kB / 476.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.719e-05/0.4745, allocations: 115.1 kB / 476.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4745, allocations: 0 / 476.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.4747, allocations: 8 kB / 476.8 MB, free: 10.25 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004262/0.4752, allocations: 0.7248 MB / 477.6 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.4753, allocations: 76.81 kB / 477.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4753, allocations: 0 / 477.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.4753, allocations: 0 / 477.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.4756, allocations: 74.02 kB / 477.7 MB, free: 9.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.476, allocations: 204.6 kB / 477.9 MB, free: 9.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.4762, allocations: 0.7142 MB / 478.6 MB, free: 8.523 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.287e-05/0.4763, allocations: 11.97 kB / 478.6 MB, free: 8.512 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.4763, allocations: 22.28 kB / 478.6 MB, free: 8.5 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4763, allocations: 4 kB / 478.7 MB, free: 8.496 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.4987, allocations: 1.784 MB / 480.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.499, allocations: 170.5 kB / 480.6 MB, free: 7.273 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.016, allocations: 1.828 kB / 480.6 MB, free: 7.273 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat