Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.2 MB / 245 MB, free: 7.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009769/0.0009768, allocations: 104.8 kB / 297.3 MB, free: 6.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.457/0.457, allocations: 45.22 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.000294, allocations: 11.98 kB / 468.5 MB, free: 7.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4119, allocations: 63.24 MB / 0.5193 GB, free: 43.79 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.5302, allocations: 87.98 MB / 0.6052 GB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.5305, allocations: 69.91 kB / 0.6052 GB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006608/0.5372, allocations: 1.966 MB / 0.6072 GB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5372, allocations: 0 / 0.6072 GB, free: 15.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.5372, allocations: 0 / 0.6072 GB, free: 15.65 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006203/0.5379, allocations: 418.3 kB / 0.6076 GB, free: 15.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5379, allocations: 8.031 kB / 0.6076 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.538, allocations: 38.56 kB / 0.6076 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.5382, allocations: 23.89 kB / 0.6076 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.5385, allocations: 222.7 kB / 0.6078 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5385, allocations: 4 kB / 0.6078 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.5386, allocations: 12.19 kB / 0.6079 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.5388, allocations: 95.55 kB / 0.6079 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.5388, allocations: 7.984 kB / 0.608 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.5388, allocations: 0 / 0.608 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.5389, allocations: 7.984 kB / 0.608 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.539, allocations: 55.97 kB / 0.608 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.5397, allocations: 396.4 kB / 0.6084 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.5398, allocations: 54.56 kB / 0.6084 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.5399, allocations: 0 / 0.6084 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.5401, allocations: 115.5 kB / 0.6086 GB, free: 14.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.5401, allocations: 0 / 0.6086 GB, free: 14.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003452/0.5404, allocations: 129.5 kB / 0.6087 GB, free: 13.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.5405, allocations: 59.78 kB / 0.6087 GB, free: 13.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.5406, allocations: 131.8 kB / 0.6089 GB, free: 13.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.5406, allocations: 25.7 kB / 0.6089 GB, free: 13.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.5407, allocations: 112.1 kB / 0.609 GB, free: 13.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.5408, allocations: 35.48 kB / 0.609 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.5408, allocations: 8 kB / 0.609 GB, free: 13.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.5409, allocations: 318.8 kB / 0.6093 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-05/0.541, allocations: 23.98 kB / 0.6094 GB, free: 13.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.5411, allocations: 87.66 kB / 0.6094 GB, free: 13.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.5412, allocations: 43.98 kB / 0.6095 GB, free: 13.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.5412, allocations: 0 / 0.6095 GB, free: 13.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002699/0.5415, allocations: 141.4 kB / 0.6096 GB, free: 12.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5415, allocations: 4 kB / 0.6096 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.5416, allocations: 7.953 kB / 0.6096 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5416, allocations: 4.203 kB / 0.6096 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.5417, allocations: 27.94 kB / 0.6097 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5417, allocations: 7.984 kB / 0.6097 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.804e-05/0.5418, allocations: 7.906 kB / 0.6097 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.5418, allocations: 12 kB / 0.6097 GB, free: 12.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y_last,mean1.y_last,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001175/0.542, allocations: 129.7 kB / 0.6098 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.542, allocations: 7.906 kB / 0.6098 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.5421, allocations: 20.64 kB / 0.6098 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5421, allocations: 7.953 kB / 0.6099 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5421, allocations: 0 / 0.6099 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5421, allocations: 4.078 kB / 0.6099 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.5423, allocations: 205.6 kB / 0.6101 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5423, allocations: 0 / 0.6101 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.5424, allocations: 11.98 kB / 0.6101 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5424, allocations: 0 / 0.6101 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.5424, allocations: 4 kB / 0.6101 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.5424, allocations: 0 / 0.6101 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.5424, allocations: 7.953 kB / 0.6101 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.5428, allocations: 176.8 kB / 0.6102 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.5429, allocations: 85.05 kB / 0.6103 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.5429, allocations: 3.984 kB / 0.6103 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.543, allocations: 8 kB / 0.6103 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.543, allocations: 16 kB / 0.6103 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.543, allocations: 8.031 kB / 0.6104 GB, free: 12.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.845e-05/0.5431, allocations: 114.8 kB / 0.6105 GB, free: 11.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5431, allocations: 0 / 0.6105 GB, free: 11.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.5434, allocations: 27.94 kB / 0.6105 GB, free: 11.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006484/0.5441, allocations: 0.7177 MB / 0.6112 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.5443, allocations: 79.84 kB / 0.6113 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5443, allocations: 0 / 0.6113 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.472e-05/0.5444, allocations: 28.48 kB / 0.6113 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.5446, allocations: 27.77 kB / 0.6113 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.5459, allocations: 1.747 MB / 0.613 GB, free: 9.207 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.5462, allocations: 0.72 MB / 0.6137 GB, free: 8.461 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.5462, allocations: 8.547 kB / 0.6137 GB, free: 8.453 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.058e-05/0.5463, allocations: 35.42 kB / 0.6138 GB, free: 8.418 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5463, allocations: 0 / 0.6138 GB, free: 8.418 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.5607, allocations: 2.112 MB / 0.6158 GB, free: 6.434 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/0.561, allocations: 158.4 kB / 0.616 GB, free: 6.199 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.214, allocations: 0 / 0.616 GB, free: 6.199 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat