Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.001418/0.001418, allocations: 180.4 kB / 16.38 MB, free: 5.766 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.372/1.372, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007794/0.0007794, allocations: 93.56 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002817, allocations: 4 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3433, allocations: 50.4 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.464, allocations: 76.71 MB / 478.3 MB, free: 3.762 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/0.4644, allocations: 75.95 kB / 478.4 MB, free: 3.688 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005046/0.4694, allocations: 1.658 MB / 480 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.508e-06/0.4695, allocations: 0 / 480 MB, free: 2.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.4695, allocations: 4 kB / 480 MB, free: 2.027 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.0006027/0.4701, allocations: 394.9 kB / 480.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.492e-05/0.4702, allocations: 8.031 kB / 480.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.173e-05/0.4703, allocations: 42.55 kB / 480.5 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.4704, allocations: 11.81 kB / 480.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.4707, allocations: 202.6 kB / 480.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4707, allocations: 12 kB / 480.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.4708, allocations: 8 kB / 480.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.4713, allocations: 213.9 kB / 480.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4713, allocations: 0 / 480.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.4713, allocations: 4 kB / 480.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.4713, allocations: 7.984 kB / 480.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.072e-05/0.4714, allocations: 35.98 kB / 481 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.4717, allocations: 193.4 kB / 481.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.4719, allocations: 130.8 kB / 481.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.472, allocations: 4 kB / 481.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.472, allocations: 42.5 kB / 481.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.472, allocations: 0 / 481.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003294/0.4723, allocations: 141.2 kB / 481.5 MB, free: 440 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.4724, allocations: 67.58 kB / 481.5 MB, free: 360 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.4726, allocations: 130.1 kB / 481.6 MB, free: 216 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.4726, allocations: 25.7 kB / 481.7 MB, free: 184 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.4727, allocations: 92.47 kB / 481.8 MB, free: 84 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.4727, allocations: 15.92 kB / 481.8 MB, free: 68 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.4727, allocations: 4 kB / 481.8 MB, free: 64 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.4729, allocations: 326.8 kB / 482.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.473, allocations: 19.98 kB / 482.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.4731, allocations: 120.3 kB / 482.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.55e-05/0.4732, allocations: 43.92 kB / 482.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4732, allocations: 0 / 482.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002181/0.4734, allocations: 153.3 kB / 482.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.4735, allocations: 8 kB / 482.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4735, allocations: 4 kB / 482.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.4735, allocations: 4 kB / 482.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.4736, allocations: 39.92 kB / 482.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4737, allocations: 4 kB / 482.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.4737, allocations: 4 kB / 482.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.4738, allocations: 16 kB / 482.5 MB, free: 15.27 MB / 362.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: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.4739, allocations: 146 kB / 482.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.4741, allocations: 117.4 kB / 482.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.4741, allocations: 21.17 kB / 482.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4742, allocations: 0 / 482.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4742, allocations: 0 / 482.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4742, allocations: 0 / 482.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.4744, allocations: 189.6 kB / 483 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4744, allocations: 0 / 483 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.4745, allocations: 27.98 kB / 483 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4745, allocations: 4 kB / 483 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4745, allocations: 4 kB / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4745, allocations: 3.938 kB / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4745, allocations: 0 / 483 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.4747, allocations: 148.8 kB / 483.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.4748, allocations: 101 kB / 483.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.4749, allocations: 15.92 kB / 483.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.4749, allocations: 0 / 483.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-06/0.4749, allocations: 0 / 483.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.4749, allocations: 12 kB / 483.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.464e-05/0.475, allocations: 109.5 kB / 483.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.475, allocations: 0 / 483.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.4753, allocations: 20 kB / 483.4 MB, free: 14.28 MB / 362.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: 0 () * 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 (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.0006919/0.476, allocations: 0.7362 MB / 484.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.4762, allocations: 87.78 kB / 484.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4762, allocations: 0 / 484.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.4762, allocations: 0 / 484.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.4766, allocations: 75.94 kB / 484.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.4789, allocations: 2.964 MB / 487.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.4793, allocations: 0.7204 MB / 488 MB, free: 9.523 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.982e-05/0.4793, allocations: 8.641 kB / 488 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.4794, allocations: 31.48 kB / 488 MB, free: 9.488 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4794, allocations: 3.938 kB / 488 MB, free: 9.484 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.497, allocations: 2.144 MB / 490.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.4973, allocations: 205.7 kB / 490.4 MB, free: 7.273 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.154, allocations: 0 / 490.4 MB, free: 7.273 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat