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.001679/0.001679, allocations: 195.5 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.376/1.376, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009052/0.0009052, allocations: 89.33 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1835/0.1835, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.45e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 63.24 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3744/0.4776, allocations: 87.9 MB / 0.5973 GB, free: 5.941 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001574/0.4778, allocations: 57.22 kB / 0.5974 GB, free: 5.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005592/0.4834, allocations: 1.953 MB / 0.5993 GB, free: 4.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4834, allocations: 0 / 0.5993 GB, free: 4.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4835, allocations: 4 kB / 0.5993 GB, free: 4.246 MB / 394.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.0004475/0.4839, allocations: 396.2 kB / 0.5996 GB, free: 3.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.484, allocations: 11.97 kB / 0.5997 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.484, allocations: 41.8 kB / 0.5997 GB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.4842, allocations: 31.8 kB / 0.5997 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.4845, allocations: 208.1 kB / 0.5999 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.4845, allocations: 10.75 kB / 0.5999 GB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.4845, allocations: 18.89 kB / 0.5999 GB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.4847, allocations: 89.05 kB / 0.6 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4847, allocations: 0 / 0.6 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.4848, allocations: 5.734 kB / 0.6 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4848, allocations: 4 kB / 0.6 GB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.501e-05/0.4849, allocations: 38.78 kB / 0.6001 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.4854, allocations: 396.9 kB / 0.6005 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.4855, allocations: 52.3 kB / 0.6005 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.4856, allocations: 23.02 kB / 0.6005 GB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.4856, allocations: 4.141 kB / 0.6005 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.4858, allocations: 102.4 kB / 0.6006 GB, free: 2.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.4858, allocations: 0 / 0.6006 GB, free: 2.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002332/0.486, allocations: 96.27 kB / 0.6007 GB, free: 2.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.4861, allocations: 51.41 kB / 0.6008 GB, free: 2.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.4862, allocations: 136.8 kB / 0.6009 GB, free: 2.531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.4862, allocations: 33.27 kB / 0.6009 GB, free: 2.496 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.4863, allocations: 103.1 kB / 0.601 GB, free: 2.402 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.4863, allocations: 27.03 kB / 0.6011 GB, free: 2.379 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.4864, allocations: 3.844 kB / 0.6011 GB, free: 2.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4865, allocations: 326.1 kB / 0.6014 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.4866, allocations: 23.06 kB / 0.6014 GB, free: 2.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.701e-05/0.4867, allocations: 85.03 kB / 0.6015 GB, free: 1.938 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.905e-05/0.4867, allocations: 29.67 kB / 0.6015 GB, free: 1.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4867, allocations: 0 / 0.6015 GB, free: 1.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001904/0.4869, allocations: 132.6 kB / 0.6016 GB, free: 1.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.487, allocations: 12.89 kB / 0.6016 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.487, allocations: 0 / 0.6016 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.487, allocations: 4 kB / 0.6016 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4871, allocations: 27.92 kB / 0.6017 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.4871, allocations: 3.984 kB / 0.6017 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.4872, allocations: 23.08 kB / 0.6017 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4872, allocations: 4 kB / 0.6017 GB, free: 1.73 MB / 394.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 () * 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 7.518e-05/0.4873, allocations: 114 kB / 0.6018 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.4874, allocations: 11.91 kB / 0.6018 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.4874, allocations: 18.5 kB / 0.6018 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4874, allocations: 0 / 0.6018 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4874, allocations: 4 kB / 0.6018 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4874, allocations: 0 / 0.6018 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.4876, allocations: 208.1 kB / 0.602 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4876, allocations: 4 kB / 0.602 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-05/0.4877, allocations: 15.98 kB / 0.6021 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4877, allocations: 0 / 0.6021 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.4877, allocations: 3.562 kB / 0.6021 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4877, allocations: 3.953 kB / 0.6021 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4877, allocations: 4 kB / 0.6021 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.488, allocations: 148.4 kB / 0.6022 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.4881, allocations: 93.03 kB / 0.6023 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.4881, allocations: 4 kB / 0.6023 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.4882, allocations: 11.38 kB / 0.6023 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.4882, allocations: 12.03 kB / 0.6023 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.4882, allocations: 3.984 kB / 0.6023 GB, free: 1.055 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.219e-05/0.4883, allocations: 113.6 kB / 0.6024 GB, free: 0.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4883, allocations: 96 / 0.6024 GB, free: 0.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.4885, allocations: 31.66 kB / 0.6025 GB, free: 0.9297 MB / 394.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) * 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.0005829/0.4891, allocations: 0.7047 MB / 0.6032 GB, free: 228 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.4893, allocations: 66.81 kB / 0.6032 GB, free: 176 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4893, allocations: 0 / 0.6032 GB, free: 176 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.502e-05/0.4894, allocations: 26.42 kB / 0.6032 GB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.4895, allocations: 15.95 kB / 0.6033 GB, free: 144 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.49, allocations: 215.3 kB / 0.6035 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.4903, allocations: 0.7158 MB / 0.6042 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.222e-05/0.4904, allocations: 12.55 kB / 0.6042 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.4904, allocations: 33.61 kB / 0.6042 GB, free: 15.15 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4904, allocations: 4 kB / 0.6042 GB, free: 15.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.504, allocations: 2.128 MB / 0.6063 GB, free: 13.12 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.5042, allocations: 145.2 kB / 0.6064 GB, free: 12.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.45/1.954, allocations: 0 / 0.6064 GB, free: 12.9 MB / 410.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