Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.000964/0.0009641, allocations: 175 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 221.3 MB / 235.5 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000876/0.0008759, allocations: 93.83 kB / 286.5 MB, free: 252 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.813e-05, allocations: 4 kB / 343.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09331, allocations: 50.42 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3063/0.3997, allocations: 76.7 MB / 471 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.4, allocations: 79.94 kB / 471.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003933/0.4039, allocations: 1.6 MB / 472.7 MB, free: 9.102 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4039, allocations: 0 / 472.7 MB, free: 9.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.4039, allocations: 0 / 472.7 MB, free: 9.102 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.0003568/0.4043, allocations: 363.2 kB / 473.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4044, allocations: 12.03 kB / 473.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.4044, allocations: 38.55 kB / 473.1 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.4045, allocations: 15.81 kB / 473.1 MB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.4047, allocations: 190.8 kB / 473.3 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4047, allocations: 12 kB / 473.3 MB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.4047, allocations: 8 kB / 473.4 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.4051, allocations: 218.1 kB / 473.6 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4051, allocations: 3.938 kB / 473.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.4052, allocations: 8 kB / 473.6 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.4052, allocations: 4 kB / 473.6 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.047e-05/0.4052, allocations: 33.83 kB / 473.6 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.4054, allocations: 189.6 kB / 473.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.4056, allocations: 126.8 kB / 473.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.4058, allocations: 81.22 kB / 474 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.4058, allocations: 7.938 kB / 474 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4058, allocations: 31.72 kB / 474 MB, free: 7.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.4058, allocations: 0 / 474 MB, free: 7.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002335/0.4061, allocations: 111.1 kB / 474.1 MB, free: 7.504 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.4061, allocations: 67.25 kB / 474.2 MB, free: 7.426 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.4063, allocations: 132.3 kB / 474.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.4063, allocations: 29.7 kB / 474.4 MB, free: 7.254 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.4064, allocations: 96.45 kB / 474.5 MB, free: 7.152 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.4064, allocations: 11.89 kB / 474.5 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.4064, allocations: 7.938 kB / 474.5 MB, free: 7.133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4065, allocations: 322.8 kB / 474.8 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.24e-05/0.4066, allocations: 16 kB / 474.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.863e-05/0.4067, allocations: 113.8 kB / 474.9 MB, free: 6.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.482e-05/0.4067, allocations: 43.91 kB / 475 MB, free: 6.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4068, allocations: 4 kB / 475 MB, free: 6.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001983/0.407, allocations: 153.2 kB / 475.1 MB, free: 6.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.407, allocations: 8 kB / 475.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.407, allocations: 4.5 kB / 475.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.407, allocations: 4 kB / 475.1 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.447e-05/0.4071, allocations: 8 kB / 475.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.4071, allocations: 15.92 kB / 475.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.4071, allocations: 4 kB / 475.2 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.4071, allocations: 12 kB / 475.2 MB, free: 6.375 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 9.255e-05/0.4072, allocations: 120.8 kB / 475.3 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4074, allocations: 113.5 kB / 475.4 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.4075, allocations: 20.75 kB / 475.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4075, allocations: 8 kB / 475.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4075, allocations: 0 / 475.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4075, allocations: 0 / 475.4 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.4076, allocations: 185.6 kB / 475.6 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4076, allocations: 0 / 475.6 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.4077, allocations: 7.922 kB / 475.6 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4077, allocations: 4 kB / 475.6 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.4077, allocations: 0 / 475.6 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4077, allocations: 3.984 kB / 475.6 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4077, allocations: 0 / 475.6 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.4079, allocations: 152.1 kB / 475.8 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/0.408, allocations: 101 kB / 475.9 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.408, allocations: 7.938 kB / 475.9 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.4081, allocations: 8 kB / 475.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-06/0.4081, allocations: 0 / 475.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.4081, allocations: 0 / 475.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.34e-05/0.4082, allocations: 108.7 kB / 476 MB, free: 5.457 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4082, allocations: 0 / 476 MB, free: 5.457 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002029/0.4084, allocations: 16 kB / 476 MB, free: 5.441 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.0005799/0.409, allocations: 0.7537 MB / 476.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.4091, allocations: 96.61 kB / 476.9 MB, free: 4.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4092, allocations: 0 / 476.9 MB, free: 4.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.4092, allocations: 0 / 476.9 MB, free: 4.566 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.4095, allocations: 78.56 kB / 476.9 MB, free: 4.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.41, allocations: 203 kB / 477.1 MB, free: 4.254 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.4103, allocations: 0.7165 MB / 477.9 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.549e-05/0.4103, allocations: 12.95 kB / 477.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.4104, allocations: 19.44 kB / 477.9 MB, free: 3.484 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4104, allocations: 0 / 477.9 MB, free: 3.484 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.423, allocations: 2.128 MB / 480 MB, free: 1.504 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.4232, allocations: 184.5 kB / 480.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.894, allocations: 4 kB / 480.2 MB, free: 1.273 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat