Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_3_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.001107/0.001107, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008361/0.0008363, allocations: 90.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.189/0.189, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002722, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 58.87 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3211/0.4251, allocations: 85.85 MB / 0.5627 GB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4253, allocations: 65.97 kB / 0.5627 GB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005315/0.4307, allocations: 1.69 MB / 0.5644 GB, free: 12.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4307, allocations: 0 / 0.5644 GB, free: 12.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.4307, allocations: 0 / 0.5644 GB, free: 12.36 MB / 378.7 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.0005484/0.4313, allocations: 399 kB / 0.5648 GB, free: 11.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4313, allocations: 8.031 kB / 0.5648 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.834e-05/0.4314, allocations: 40.19 kB / 0.5648 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.4315, allocations: 15.77 kB / 0.5648 GB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.4317, allocations: 215.8 kB / 0.565 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.4317, allocations: 4 kB / 0.5651 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.4318, allocations: 7.5 kB / 0.5651 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.432, allocations: 87.89 kB / 0.5651 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.432, allocations: 7.906 kB / 0.5651 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.432, allocations: 3.688 kB / 0.5652 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.432, allocations: 0 / 0.5652 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.4322, allocations: 59.14 kB / 0.5652 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.4327, allocations: 364.3 kB / 0.5656 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.4328, allocations: 64.75 kB / 0.5656 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4329, allocations: 4.094 kB / 0.5656 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.4331, allocations: 98.34 kB / 0.5657 GB, free: 10.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.4331, allocations: 0 / 0.5657 GB, free: 10.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003582/0.4334, allocations: 138.9 kB / 0.5658 GB, free: 10.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.4335, allocations: 55.41 kB / 0.5659 GB, free: 10.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.4336, allocations: 123.9 kB / 0.566 GB, free: 10.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.4336, allocations: 33.02 kB / 0.5661 GB, free: 10.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.4337, allocations: 103.3 kB / 0.5661 GB, free: 10.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.4337, allocations: 27 kB / 0.5662 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.4337, allocations: 0 / 0.5662 GB, free: 10.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4339, allocations: 326.4 kB / 0.5665 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.434, allocations: 26.73 kB / 0.5665 GB, free: 10.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.4341, allocations: 86.08 kB / 0.5666 GB, free: 10.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.006e-05/0.4342, allocations: 45.31 kB / 0.5666 GB, free: 10.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4342, allocations: 4 kB / 0.5666 GB, free: 10.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002661/0.4345, allocations: 146.7 kB / 0.5668 GB, free: 9.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4345, allocations: 4 kB / 0.5668 GB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4345, allocations: 7.953 kB / 0.5668 GB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4345, allocations: 4 kB / 0.5668 GB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.4347, allocations: 27.61 kB / 0.5668 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4347, allocations: 0 / 0.5668 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.4348, allocations: 11.91 kB / 0.5668 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.4348, allocations: 12.16 kB / 0.5668 GB, free: 9.832 MB / 378.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,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * 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.0001122/0.4349, allocations: 131.8 kB / 0.567 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.4349, allocations: 7.906 kB / 0.567 GB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.435, allocations: 11.91 kB / 0.567 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.435, allocations: 3.953 kB / 0.567 GB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.435, allocations: 0.875 kB / 0.567 GB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.435, allocations: 0 / 0.567 GB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.4352, allocations: 207 kB / 0.5672 GB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4352, allocations: 4 kB / 0.5672 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4353, allocations: 19.92 kB / 0.5672 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4353, allocations: 0 / 0.5672 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.4353, allocations: 7.375 kB / 0.5672 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4353, allocations: 0 / 0.5672 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4353, allocations: 7.953 kB / 0.5672 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.4357, allocations: 174.9 kB / 0.5674 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.4357, allocations: 85 kB / 0.5675 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.4358, allocations: 7.5 kB / 0.5675 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.36e-05/0.4358, allocations: 0 / 0.5675 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.4359, allocations: 11.94 kB / 0.5675 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.4359, allocations: 6.625 kB / 0.5675 GB, free: 9.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.436, allocations: 105 kB / 0.5676 GB, free: 9.031 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.436, allocations: 0 / 0.5676 GB, free: 9.031 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.4362, allocations: 27.45 kB / 0.5676 GB, free: 9.008 MB / 378.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,rootMeanSquare.mean.y) * 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.0006826/0.4369, allocations: 0.7141 MB / 0.5683 GB, free: 8.301 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.4372, allocations: 86.33 kB / 0.5684 GB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4372, allocations: 0 / 0.5684 GB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/0.4373, allocations: 35.61 kB / 0.5684 GB, free: 8.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.4375, allocations: 14.22 kB / 0.5685 GB, free: 8.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.4387, allocations: 1.722 MB / 0.5701 GB, free: 6.426 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.439, allocations: 0.7081 MB / 0.5708 GB, free: 5.691 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.754e-05/0.4391, allocations: 16.55 kB / 0.5708 GB, free: 5.672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.4391, allocations: 32.92 kB / 0.5709 GB, free: 5.656 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4391, allocations: 0 / 0.5709 GB, free: 5.656 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.4508, allocations: 1.965 MB / 0.5728 GB, free: 3.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.451, allocations: 181.8 kB / 0.573 GB, free: 3.477 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/1.938, allocations: 0 / 0.573 GB, free: 3.477 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat