Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00224/0.00224, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 96.03 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.374/0.374, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.445e-05/2.464e-05, allocations: 0 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4228, allocations: 58.86 MB / 477.2 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.5843, allocations: 85.1 MB / 0.5491 GB, free: 14.2 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.5846, allocations: 67.47 kB / 0.5492 GB, free: 14.13 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.007506/0.5921, allocations: 1.678 MB / 0.5508 GB, free: 12.45 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5922, allocations: 0 / 0.5508 GB, free: 12.45 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.5922, allocations: 0 / 0.5508 GB, free: 12.45 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006379/0.5929, allocations: 374.9 kB / 0.5512 GB, free: 12.04 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5929, allocations: 12.03 kB / 0.5512 GB, free: 12.03 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.593, allocations: 11.91 kB / 0.5512 GB, free: 12.02 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.5933, allocations: 210.8 kB / 0.5514 GB, free: 11.77 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5934, allocations: 3.984 kB / 0.5514 GB, free: 11.77 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.5934, allocations: 8 kB / 0.5514 GB, free: 11.76 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001513/0.5936, allocations: 32 kB / 0.5514 GB, free: 11.73 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.5938, allocations: 79.03 kB / 0.5515 GB, free: 11.64 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5938, allocations: 0 / 0.5515 GB, free: 11.64 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.5938, allocations: 0 / 0.5515 GB, free: 11.64 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5939, allocations: 0 / 0.5515 GB, free: 11.64 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.5946, allocations: 356.4 kB / 0.5518 GB, free: 11.26 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.5947, allocations: 50.59 kB / 0.5519 GB, free: 11.2 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.5948, allocations: 16.92 kB / 0.5519 GB, free: 11.18 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.5948, allocations: 0 / 0.5519 GB, free: 11.18 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.5951, allocations: 103.2 kB / 0.552 GB, free: 11.07 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.5951, allocations: 0 / 0.552 GB, free: 11.07 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003069/0.5954, allocations: 89.53 kB / 0.5521 GB, free: 10.98 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.5955, allocations: 63.34 kB / 0.5521 GB, free: 10.9 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.5956, allocations: 116.3 kB / 0.5523 GB, free: 10.78 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.5957, allocations: 33.7 kB / 0.5523 GB, free: 10.74 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.5958, allocations: 162.8 kB / 0.5524 GB, free: 10.58 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.5958, allocations: 27.64 kB / 0.5525 GB, free: 10.55 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.5959, allocations: 0 / 0.5525 GB, free: 10.55 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.596, allocations: 318.8 kB / 0.5528 GB, free: 10.23 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.5961, allocations: 15.98 kB / 0.5528 GB, free: 10.21 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.5962, allocations: 75.73 kB / 0.5529 GB, free: 10.11 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.353e-05/0.5963, allocations: 38.5 kB / 0.5529 GB, free: 10.08 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5963, allocations: 0 / 0.5529 GB, free: 10.08 MB / 395.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002726/0.5966, allocations: 109.4 kB / 0.553 GB, free: 9.965 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5967, allocations: 8 kB / 0.553 GB, free: 9.957 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5967, allocations: 0 / 0.553 GB, free: 9.957 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5967, allocations: 4 kB / 0.553 GB, free: 9.953 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.5969, allocations: 35.88 kB / 0.553 GB, free: 9.918 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5969, allocations: 4 kB / 0.553 GB, free: 9.914 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.5971, allocations: 11.84 kB / 0.5531 GB, free: 9.902 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.5971, allocations: 8.219 kB / 0.5531 GB, free: 9.895 MB / 395.1 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,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * 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 0.0001005/0.5972, allocations: 108.9 kB / 0.5532 GB, free: 9.781 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002158/0.5974, allocations: 85.58 kB / 0.5533 GB, free: 9.691 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.5975, allocations: 7.906 kB / 0.5533 GB, free: 9.684 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.5975, allocations: 20.56 kB / 0.5533 GB, free: 9.668 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.5975, allocations: 4.125 kB / 0.5533 GB, free: 9.664 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5976, allocations: 0 / 0.5533 GB, free: 9.664 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5976, allocations: 3.938 kB / 0.5533 GB, free: 9.66 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.5978, allocations: 182.3 kB / 0.5535 GB, free: 9.445 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5978, allocations: 4 kB / 0.5535 GB, free: 9.441 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.598, allocations: 11.98 kB / 0.5535 GB, free: 9.43 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.598, allocations: 0 / 0.5535 GB, free: 9.43 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.598, allocations: 4 kB / 0.5535 GB, free: 9.426 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.598, allocations: 0 / 0.5535 GB, free: 9.426 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.598, allocations: 3.953 kB / 0.5535 GB, free: 9.422 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.5984, allocations: 144.9 kB / 0.5536 GB, free: 9.262 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.5985, allocations: 85.05 kB / 0.5537 GB, free: 9.16 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.5985, allocations: 4.062 kB / 0.5537 GB, free: 9.156 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.5986, allocations: 4 kB / 0.5537 GB, free: 9.152 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.5987, allocations: 15.94 kB / 0.5537 GB, free: 9.137 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.5987, allocations: 3.984 kB / 0.5537 GB, free: 9.133 MB / 395.1 MB Notification: Performance of sorting global known variables: time 9.126e-05/0.5988, allocations: 100.5 kB / 0.5538 GB, free: 9.035 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5988, allocations: 0 / 0.5538 GB, free: 9.035 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003292/0.5992, allocations: 23.84 kB / 0.5538 GB, free: 9.012 MB / 395.1 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,rootMeanSquare.mean.y) * 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.0006897/0.5999, allocations: 0.6749 MB / 0.5545 GB, free: 8.305 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.6001, allocations: 63.86 kB / 0.5546 GB, free: 8.242 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6001, allocations: 4 kB / 0.5546 GB, free: 8.238 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.475e-05/0.6002, allocations: 28.12 kB / 0.5546 GB, free: 8.211 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.6004, allocations: 20.06 kB / 0.5546 GB, free: 8.191 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006946/0.6012, allocations: 228.4 kB / 0.5548 GB, free: 7.926 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.6015, allocations: 0.708 MB / 0.5555 GB, free: 7.191 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.6016, allocations: 35.42 kB / 0.5556 GB, free: 7.156 MB / 395.1 MB Notification: Performance of SimCode: time 7.42e-07/0.6017, allocations: 0 / 0.5556 GB, free: 7.156 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.672/3.274, allocations: 1.755 MB / 0.5573 GB, free: 5.402 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat