Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled",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.001521/0.001521, allocations: 180.8 kB / 16.39 MB, free: 5.762 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.317/1.317, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.0008308/0.0008308, allocations: 89.52 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002516/0.0002517, allocations: 8 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2201, allocations: 50.41 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3218, allocations: 80.75 MB / 482.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.3221, allocations: 75.97 kB / 482.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0197/0.3419, allocations: 6.555 MB / 488.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.478e-06/0.3419, allocations: 0 / 488.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.3419, allocations: 7.938 kB / 489 MB, free: 9.039 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.00111/0.343, allocations: 0.6004 MB / 489.6 MB, free: 8.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3431, allocations: 11.97 kB / 489.6 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.542e-05/0.3432, allocations: 74.53 kB / 489.6 MB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.3433, allocations: 31.72 kB / 489.7 MB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.3436, allocations: 252.2 kB / 489.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.3439, allocations: 149.6 kB / 490.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.3439, allocations: 35.91 kB / 490.1 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.3451, allocations: 0.5548 MB / 490.7 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.3451, allocations: 7.984 kB / 490.7 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.3452, allocations: 12 kB / 490.7 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3452, allocations: 8 kB / 490.7 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.3466, allocations: 0.5386 MB / 491.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.3482, allocations: 1.021 MB / 492.2 MB, free: 5.527 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.3496, allocations: 0.4948 MB / 492.7 MB, free: 4.996 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.3497, allocations: 8.141 kB / 492.7 MB, free: 4.988 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.3497, allocations: 46.55 kB / 492.8 MB, free: 4.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.424e-06/0.3497, allocations: 0 / 492.8 MB, free: 4.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=73): time 0.04268/0.3924, allocations: 6.767 MB / 499.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.3925, allocations: 149 kB / 499.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.3927, allocations: 178.3 kB / 499.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.631e-05/0.3928, allocations: 41.7 kB / 499.9 MB, free: 13.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.3929, allocations: 137.9 kB / 0.4883 GB, free: 13.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.3931, allocations: 197.2 kB / 0.4885 GB, free: 13.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.3932, allocations: 19.94 kB / 0.4885 GB, free: 13.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3933, allocations: 342.8 kB / 0.4889 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.3949, allocations: 0.6656 MB / 0.4895 GB, free: 12.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.3966, allocations: 0.8317 MB / 0.4903 GB, free: 11.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.3981, allocations: 0.615 MB / 0.4909 GB, free: 10.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3981, allocations: 0 / 0.4909 GB, free: 10.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003464/0.4016, allocations: 1.475 MB / 0.4924 GB, free: 9.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.4016, allocations: 11.12 kB / 0.4924 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.4017, allocations: 7.984 kB / 0.4924 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/0.4017, allocations: 16.12 kB / 0.4924 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.4031, allocations: 223.6 kB / 0.4926 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.4031, allocations: 16 kB / 0.4926 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.4042, allocations: 123.7 kB / 0.4927 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-05/0.4043, allocations: 28 kB / 0.4928 GB, free: 8.977 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0003492/0.4046, allocations: 192.5 kB / 0.493 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.405, allocations: 145.2 kB / 0.4931 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.4051, allocations: 63.3 kB / 0.4932 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.4052, allocations: 8 kB / 0.4932 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4052, allocations: 0 / 0.4932 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4052, allocations: 3.984 kB / 0.4932 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.4099, allocations: 2.312 MB / 0.4954 GB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.41, allocations: 12 kB / 0.4954 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007917/0.4108, allocations: 203.8 kB / 0.4956 GB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/0.4108, allocations: 16 kB / 0.4956 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.4109, allocations: 31.98 kB / 0.4957 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/0.4109, allocations: 15.94 kB / 0.4957 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/0.4109, allocations: 15.94 kB / 0.4957 GB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.4144, allocations: 2.2 MB / 0.4979 GB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.4146, allocations: 168.6 kB / 0.498 GB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.4147, allocations: 36 kB / 0.4981 GB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/0.4153, allocations: 95.92 kB / 0.4981 GB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.4155, allocations: 103.7 kB / 0.4982 GB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.4156, allocations: 35.98 kB / 0.4983 GB, free: 2.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.4158, allocations: 139.2 kB / 0.4984 GB, free: 2.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4158, allocations: 0 / 0.4984 GB, free: 2.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000694/0.4165, allocations: 131.9 kB / 0.4985 GB, free: 2.434 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (load.w,speed.flange.phi) * Number of discrete variables: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 73 * 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.1743/0.5907, allocations: 5.781 MB / 0.5042 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002855/0.5936, allocations: 1.203 MB / 0.5054 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.5937, allocations: 1.219 kB / 0.5054 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.5947, allocations: 382.6 kB / 0.5057 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.5954, allocations: 127 kB / 0.5058 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007787/0.6032, allocations: 7.867 MB / 0.5135 GB, free: 94.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.6034, allocations: 0.8183 MB / 0.5143 GB, free: 93.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006005/0.604, allocations: 86.75 kB / 0.5144 GB, free: 93.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/0.6044, allocations: 121.3 kB / 0.5145 GB, free: 93.68 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6044, allocations: 2.953 kB / 0.5145 GB, free: 93.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.6242, allocations: 10.27 MB / 0.5245 GB, free: 86.63 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001243/0.6244, allocations: 193.7 kB / 0.5247 GB, free: 86.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/2.842, allocations: 0 / 0.5247 GB, free: 86.39 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat does not exist to compare? outputFormat=mat