Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009967/0.0009967, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.174/1.174, allocations: 227.2 MB / 245 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009019/0.0009019, allocations: 111 kB / 297.3 MB, free: 6.164 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002117/0.0002117, allocations: 8 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2006, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08626/0.2869, allocations: 81.56 MB / 491.1 MB, free: 9.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.2871, allocations: 79.95 kB / 491.1 MB, free: 8.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01846/0.3056, allocations: 6.609 MB / 497.7 MB, free: 2.332 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.582e-06/0.3056, allocations: 0 / 497.7 MB, free: 2.332 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.3057, allocations: 12 kB / 497.8 MB, free: 2.32 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.001038/0.3067, allocations: 0.5925 MB / 498.3 MB, free: 1.676 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3068, allocations: 12.02 kB / 498.4 MB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.883e-05/0.3069, allocations: 74.48 kB / 498.4 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.3069, allocations: 31.72 kB / 498.5 MB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.3073, allocations: 271.8 kB / 498.7 MB, free: 1.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.3075, allocations: 141.6 kB / 498.9 MB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.3076, allocations: 28 kB / 498.9 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.3087, allocations: 0.5593 MB / 499.5 MB, free: 484 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3087, allocations: 4 kB / 499.5 MB, free: 480 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.3087, allocations: 8 kB / 499.5 MB, free: 472 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3088, allocations: 8 kB / 499.5 MB, free: 464 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.3101, allocations: 0.5464 MB / 0.4883 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.3116, allocations: 1.01 MB / 0.4893 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.313, allocations: 0.5064 MB / 0.4898 GB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.313, allocations: 15.97 kB / 0.4898 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.313, allocations: 34.56 kB / 0.4898 GB, free: 14.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 1.483e-06/0.313, allocations: 0 / 0.4898 GB, free: 14.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.04019/0.3532, allocations: 6.772 MB / 0.4964 GB, free: 7.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.3534, allocations: 148.9 kB / 0.4966 GB, free: 7.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.3536, allocations: 182.3 kB / 0.4968 GB, free: 7.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.78e-05/0.3536, allocations: 37.7 kB / 0.4968 GB, free: 7.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.3537, allocations: 141.5 kB / 0.4969 GB, free: 6.883 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.3539, allocations: 197.2 kB / 0.4971 GB, free: 6.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.354, allocations: 16 kB / 0.4971 GB, free: 6.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3541, allocations: 342.8 kB / 0.4975 GB, free: 6.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.3556, allocations: 0.6578 MB / 0.4981 GB, free: 5.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.3571, allocations: 0.8317 MB / 0.4989 GB, free: 4.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.3586, allocations: 0.6111 MB / 0.4995 GB, free: 4.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3586, allocations: 0 / 0.4995 GB, free: 4.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003282/0.3619, allocations: 1.479 MB / 0.501 GB, free: 2.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3619, allocations: 8 kB / 0.501 GB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3619, allocations: 4 kB / 0.501 GB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3619, allocations: 12 kB / 0.501 GB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.3633, allocations: 227.8 kB / 0.5012 GB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.3633, allocations: 20.31 kB / 0.5012 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009684/0.3643, allocations: 123.7 kB / 0.5013 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.97e-05/0.3643, allocations: 27.98 kB / 0.5014 GB, free: 2.25 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.0002668/0.3646, allocations: 185.5 kB / 0.5015 GB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.3649, allocations: 149.2 kB / 0.5017 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.3651, allocations: 63.31 kB / 0.5017 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3651, allocations: 11.94 kB / 0.5018 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.3651, allocations: 0 / 0.5018 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.3651, allocations: 11.94 kB / 0.5018 GB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1545/0.5196, allocations: 2.297 MB / 0.504 GB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/0.5196, allocations: 9.5 kB / 0.504 GB, free: 97.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008197/0.5205, allocations: 201.7 kB / 0.5042 GB, free: 97.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/0.5205, allocations: 18.78 kB / 0.5042 GB, free: 97.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.5206, allocations: 25.62 kB / 0.5042 GB, free: 97.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.497e-05/0.5206, allocations: 19.83 kB / 0.5043 GB, free: 97.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.5206, allocations: 15.59 kB / 0.5043 GB, free: 97.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003119/0.5237, allocations: 2.203 MB / 0.5064 GB, free: 96.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.5239, allocations: 164.3 kB / 0.5066 GB, free: 96.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.524, allocations: 27.5 kB / 0.5066 GB, free: 96.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/0.5246, allocations: 98.33 kB / 0.5067 GB, free: 96.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.5248, allocations: 109 kB / 0.5068 GB, free: 96.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.5248, allocations: 32.16 kB / 0.5068 GB, free: 96.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.5249, allocations: 147.5 kB / 0.507 GB, free: 96 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5249, allocations: 0 / 0.507 GB, free: 96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006498/0.5256, allocations: 127.1 kB / 0.5071 GB, free: 96 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.003626/0.5292, allocations: 5.79 MB / 0.5128 GB, free: 91.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.5318, allocations: 1.208 MB / 0.5139 GB, free: 90.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5318, allocations: 3.969 kB / 0.5139 GB, free: 90.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008422/0.5327, allocations: 386.7 kB / 0.5143 GB, free: 90.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.5332, allocations: 133.4 kB / 0.5144 GB, free: 90.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006979/0.5402, allocations: 7.844 MB / 0.5221 GB, free: 84.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.5405, allocations: 0.8195 MB / 0.5229 GB, free: 83.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005355/0.541, allocations: 88.62 kB / 0.523 GB, free: 83.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.5413, allocations: 113.1 kB / 0.5231 GB, free: 83.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5413, allocations: 0 / 0.5231 GB, free: 83.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.5598, allocations: 10.26 MB / 0.5331 GB, free: 75.43 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/0.56, allocations: 193.7 kB / 0.5333 GB, free: 75.19 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/2.632, allocations: 3.375 kB / 0.5333 GB, free: 75.19 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SuperSampled.fmu > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat does not exist to compare? outputFormat=mat