Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002499/0.002499, allocations: 180.9 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.277/2.277, allocations: 205.2 MB / 219 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 85.3 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1088/0.1088, allocations: 12.58 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.295e-05/4.305e-05, allocations: 4 kB / 386.1 MB, free: 69.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.5577, allocations: 77.86 MB / 0.5023 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/0.5581, allocations: 78.64 kB / 0.5024 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008049/0.5662, allocations: 1.557 MB / 0.5039 GB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.5662, allocations: 0 / 0.5039 GB, free: 11.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.5663, allocations: 3.875 kB / 0.5039 GB, free: 11.31 MB / 330.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.0004374/0.5667, allocations: 357.6 kB / 0.5042 GB, free: 10.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.5668, allocations: 15.66 kB / 0.5042 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.5669, allocations: 40.92 kB / 0.5043 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.567, allocations: 11.12 kB / 0.5043 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.5673, allocations: 203.7 kB / 0.5045 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.5673, allocations: 3.875 kB / 0.5045 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.5674, allocations: 11.5 kB / 0.5045 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007158/0.5681, allocations: 211 kB / 0.5047 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5681, allocations: 3.938 kB / 0.5047 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.5682, allocations: 0 / 0.5047 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.5682, allocations: 3.75 kB / 0.5047 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.5684, allocations: 33.2 kB / 0.5047 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.5686, allocations: 179.7 kB / 0.5049 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.5691, allocations: 131.6 kB / 0.505 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.5694, allocations: 74.53 kB / 0.5051 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.5695, allocations: 11.77 kB / 0.5051 GB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.5695, allocations: 33.12 kB / 0.5052 GB, free: 10.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 4.638e-06/0.5695, allocations: 0 / 0.5052 GB, free: 10.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004344/0.57, allocations: 124.3 kB / 0.5053 GB, free: 10.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.5701, allocations: 62.44 kB / 0.5053 GB, free: 10.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.5703, allocations: 136.4 kB / 0.5055 GB, free: 10.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.5703, allocations: 25.7 kB / 0.5055 GB, free: 10.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.5704, allocations: 95.33 kB / 0.5056 GB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.5704, allocations: 7.656 kB / 0.5056 GB, free: 10.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.5705, allocations: 3.188 kB / 0.5056 GB, free: 10.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.5706, allocations: 319.4 kB / 0.5059 GB, free: 9.707 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.515e-05/0.5707, allocations: 19.12 kB / 0.5059 GB, free: 9.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.5708, allocations: 120.6 kB / 0.506 GB, free: 9.574 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.571, allocations: 40.44 kB / 0.5061 GB, free: 9.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.571, allocations: 0 / 0.5061 GB, free: 9.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004378/0.5715, allocations: 163 kB / 0.5062 GB, free: 9.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.5715, allocations: 3.844 kB / 0.5062 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.5716, allocations: 4.547 kB / 0.5062 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/0.5716, allocations: 14.22 kB / 0.5062 GB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.5717, allocations: 7.781 kB / 0.5062 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.5717, allocations: 6.422 kB / 0.5063 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.5719, allocations: 7.156 kB / 0.5063 GB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.5719, allocations: 7.656 kB / 0.5063 GB, free: 9.492 MB / 330.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 0.0001475/0.5721, allocations: 132 kB / 0.5064 GB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.5724, allocations: 112.6 kB / 0.5065 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-05/0.5725, allocations: 21.89 kB / 0.5065 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.5726, allocations: 0 / 0.5065 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5726, allocations: 3.953 kB / 0.5065 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5726, allocations: 0 / 0.5065 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.5728, allocations: 182.4 kB / 0.5067 GB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5729, allocations: 0 / 0.5067 GB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.5729, allocations: 9.719 kB / 0.5067 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.5729, allocations: 3.938 kB / 0.5067 GB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.573, allocations: 7.812 kB / 0.5067 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.573, allocations: 0 / 0.5067 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.573, allocations: 0 / 0.5067 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.5734, allocations: 144.5 kB / 0.5069 GB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5735, allocations: 101.9 kB / 0.507 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.5736, allocations: 3.938 kB / 0.507 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.5737, allocations: 3.438 kB / 0.507 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-06/0.5737, allocations: 3.094 kB / 0.507 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.5737, allocations: 11.72 kB / 0.507 GB, free: 8.941 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.5739, allocations: 104.6 kB / 0.5071 GB, free: 8.867 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.5739, allocations: 3.938 kB / 0.5071 GB, free: 8.863 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006052/0.5745, allocations: 22.58 kB / 0.5071 GB, free: 8.859 MB / 330.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.0008798/0.5754, allocations: 0.7352 MB / 0.5078 GB, free: 8.258 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003392/0.5758, allocations: 88 kB / 0.5079 GB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5758, allocations: 3.656 kB / 0.5079 GB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.5758, allocations: 0 / 0.5079 GB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.5765, allocations: 74.73 kB / 0.508 GB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.5774, allocations: 212.5 kB / 0.5082 GB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.5777, allocations: 0.7158 MB / 0.5089 GB, free: 7.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.707e-05/0.5778, allocations: 8.469 kB / 0.5089 GB, free: 7.406 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.5779, allocations: 23.77 kB / 0.5089 GB, free: 7.402 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5779, allocations: 0 / 0.5089 GB, free: 7.402 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.6049, allocations: 2.139 MB / 0.511 GB, free: 6.676 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003142/0.6053, allocations: 183 kB / 0.5112 GB, free: 6.457 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.01, allocations: 0 / 0.5112 GB, free: 6.457 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat