Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001318/0.001318, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001018, allocations: 85.31 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.284e-05, allocations: 0 / 350.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.4661, allocations: 77.44 MB / 479.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.4664, allocations: 73.41 kB / 479.6 MB, free: 11.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004117/0.4705, allocations: 1.648 MB / 481.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4705, allocations: 0 / 481.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.4706, allocations: 6.344 kB / 481.3 MB, free: 10.53 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.0003075/0.4709, allocations: 370.9 kB / 481.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4709, allocations: 8.031 kB / 481.7 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/0.471, allocations: 44.55 kB / 481.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.471, allocations: 16.62 kB / 481.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.4712, allocations: 207.2 kB / 481.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4712, allocations: 7.609 kB / 481.9 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.4713, allocations: 7.5 kB / 481.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.4716, allocations: 203.9 kB / 482.1 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4716, allocations: 3.953 kB / 482.2 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4717, allocations: 4 kB / 482.2 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4717, allocations: 0 / 482.2 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.4718, allocations: 31.25 kB / 482.2 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.4719, allocations: 191.9 kB / 482.4 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.4721, allocations: 133.2 kB / 482.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.533e-05/0.4722, allocations: 67.94 kB / 482.6 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.4722, allocations: 4 kB / 482.6 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.4723, allocations: 31.72 kB / 482.6 MB, free: 9.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.4723, allocations: 0 / 482.6 MB, free: 9.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002128/0.4725, allocations: 128.6 kB / 482.7 MB, free: 9.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.4725, allocations: 59.03 kB / 482.8 MB, free: 9.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.4726, allocations: 143 kB / 482.9 MB, free: 8.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.4727, allocations: 25.7 kB / 483 MB, free: 8.867 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.4727, allocations: 91.59 kB / 483 MB, free: 8.777 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.4727, allocations: 7.609 kB / 483.1 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.4727, allocations: 7.938 kB / 483.1 MB, free: 8.766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.4728, allocations: 322 kB / 483.4 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.4728, allocations: 15.56 kB / 483.4 MB, free: 8.438 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.4729, allocations: 120.5 kB / 483.5 MB, free: 8.281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.291e-05/0.4729, allocations: 45.42 kB / 483.6 MB, free: 8.246 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4729, allocations: 4 kB / 483.6 MB, free: 8.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001749/0.4731, allocations: 147.3 kB / 483.7 MB, free: 8.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4732, allocations: 13.78 kB / 483.7 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4732, allocations: 4 kB / 483.7 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.4732, allocations: 4 kB / 483.7 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.4733, allocations: 39.61 kB / 483.8 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4733, allocations: 9.594 kB / 483.8 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.4734, allocations: 11.84 kB / 483.8 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.4734, allocations: 8 kB / 483.8 MB, free: 8.027 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: 0 () * 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 5.863e-05/0.4735, allocations: 121.6 kB / 483.9 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.4736, allocations: 113.4 kB / 484 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.4737, allocations: 19.38 kB / 484 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4737, allocations: 0 / 484 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4737, allocations: 0 / 484 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4737, allocations: 7.938 kB / 484 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.974e-05/0.4738, allocations: 195.7 kB / 484.2 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4738, allocations: 0 / 484.2 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.172e-05/0.4739, allocations: 23.94 kB / 484.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4739, allocations: 3.984 kB / 484.3 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4739, allocations: 7.688 kB / 484.3 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4739, allocations: 0 / 484.3 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4739, allocations: 0.9375 kB / 484.3 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.4741, allocations: 150 kB / 484.4 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.4742, allocations: 101.8 kB / 484.5 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.4742, allocations: 3.375 kB / 484.5 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.502e-05/0.4742, allocations: 0 / 484.5 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-06/0.4742, allocations: 0 / 484.5 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.4742, allocations: 7.562 kB / 484.5 MB, free: 7.281 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.915e-05/0.4743, allocations: 113.4 kB / 484.6 MB, free: 7.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.4743, allocations: 4 kB / 484.6 MB, free: 7.176 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.4745, allocations: 26.75 kB / 484.7 MB, free: 7.156 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: 0 () * 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.0004718/0.475, allocations: 0.7238 MB / 485.4 MB, free: 6.449 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.4752, allocations: 94.36 kB / 485.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4752, allocations: 0 / 485.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.4752, allocations: 0 / 485.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.4755, allocations: 77.58 kB / 485.6 MB, free: 6.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.476, allocations: 204.2 kB / 485.8 MB, free: 6.113 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.4762, allocations: 0.7207 MB / 486.5 MB, free: 5.367 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.871e-05/0.4762, allocations: 9.812 kB / 486.5 MB, free: 5.359 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.4763, allocations: 29.73 kB / 486.5 MB, free: 5.344 MB / 346.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4763, allocations: 0 / 486.5 MB, free: 5.344 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.4899, allocations: 2.162 MB / 488.7 MB, free: 3.422 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.4901, allocations: 178.5 kB / 488.9 MB, free: 3.195 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.03, allocations: 4.062 kB / 488.9 MB, free: 3.191 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat