Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009187/0.0009187, allocations: 97.83 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1918/0.1918, allocations: 44.14 MB / 376.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.205e-05, allocations: 8.156 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 61.91 MB / 0.4948 GB, free: 1.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.6219, allocations: 86.16 MB / 0.5789 GB, free: 10.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.6222, allocations: 60.81 kB / 0.579 GB, free: 10.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005638/0.6278, allocations: 1.753 MB / 0.5807 GB, free: 8.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6279, allocations: 0 / 0.5807 GB, free: 8.422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.6279, allocations: 0 / 0.5807 GB, free: 8.422 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.0006462/0.6285, allocations: 392.5 kB / 0.581 GB, free: 7.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.6286, allocations: 11.98 kB / 0.5811 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.6287, allocations: 12.78 kB / 0.5811 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.6291, allocations: 204.1 kB / 0.5813 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.6291, allocations: 0 / 0.5813 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.6292, allocations: 19.89 kB / 0.5813 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001723/0.6293, allocations: 35.98 kB / 0.5813 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.6296, allocations: 80.61 kB / 0.5814 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.6296, allocations: 4 kB / 0.5814 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.6296, allocations: 4 kB / 0.5814 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6296, allocations: 0 / 0.5814 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007422/0.6304, allocations: 365 kB / 0.5818 GB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.6305, allocations: 46.58 kB / 0.5818 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.6306, allocations: 24.94 kB / 0.5818 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.6307, allocations: 3.984 kB / 0.5818 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.6309, allocations: 91.36 kB / 0.5819 GB, free: 7.008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.694e-06/0.6309, allocations: 0 / 0.5819 GB, free: 7.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003438/0.6313, allocations: 85.53 kB / 0.582 GB, free: 6.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.6313, allocations: 51.41 kB / 0.582 GB, free: 6.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.6315, allocations: 126.6 kB / 0.5822 GB, free: 6.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.6316, allocations: 25.7 kB / 0.5822 GB, free: 6.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.6317, allocations: 111.8 kB / 0.5823 GB, free: 6.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.6318, allocations: 27.8 kB / 0.5823 GB, free: 6.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.6318, allocations: 0 / 0.5823 GB, free: 6.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.632, allocations: 326.8 kB / 0.5826 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.6321, allocations: 16 kB / 0.5826 GB, free: 6.207 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.6322, allocations: 75.72 kB / 0.5827 GB, free: 6.105 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.645e-05/0.6323, allocations: 31.92 kB / 0.5828 GB, free: 6.074 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6323, allocations: 0 / 0.5828 GB, free: 6.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002896/0.6326, allocations: 105.5 kB / 0.5829 GB, free: 5.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.6327, allocations: 8 kB / 0.5829 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.6327, allocations: 224 / 0.5829 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.6327, allocations: 8 kB / 0.5829 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.6329, allocations: 27.92 kB / 0.5829 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.633, allocations: 7.828 kB / 0.5829 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.6331, allocations: 15.83 kB / 0.5829 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.6332, allocations: 8.094 kB / 0.5829 GB, free: 5.895 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 0.0001843/0.6333, allocations: 118.5 kB / 0.583 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002898/0.6337, allocations: 89.52 kB / 0.5831 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.6337, allocations: 11.91 kB / 0.5831 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.972e-05/0.6338, allocations: 12.62 kB / 0.5831 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6338, allocations: 0 / 0.5831 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6338, allocations: 0 / 0.5831 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6338, allocations: 0 / 0.5831 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.6342, allocations: 186.3 kB / 0.5833 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6343, allocations: 0 / 0.5833 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.6344, allocations: 11.98 kB / 0.5833 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.6344, allocations: 4 kB / 0.5833 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.6345, allocations: 96 / 0.5833 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6345, allocations: 4 kB / 0.5833 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6345, allocations: 0 / 0.5833 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.6349, allocations: 152.8 kB / 0.5835 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/0.635, allocations: 92.97 kB / 0.5836 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.6351, allocations: 0 / 0.5836 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.6351, allocations: 4 kB / 0.5836 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.6352, allocations: 11.98 kB / 0.5836 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.6353, allocations: 4 kB / 0.5836 GB, free: 5.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.698e-05/0.6354, allocations: 104.4 kB / 0.5837 GB, free: 5.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6354, allocations: 0 / 0.5837 GB, free: 5.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004004/0.6358, allocations: 16 kB / 0.5837 GB, free: 5.004 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.0008032/0.6366, allocations: 0.6944 MB / 0.5844 GB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.6368, allocations: 63.98 kB / 0.5844 GB, free: 4.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6368, allocations: 0 / 0.5844 GB, free: 4.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.6369, allocations: 23.94 kB / 0.5845 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.6372, allocations: 11.94 kB / 0.5845 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007378/0.6379, allocations: 205.9 kB / 0.5847 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.6383, allocations: 0.7084 MB / 0.5854 GB, free: 3.211 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.966e-05/0.6384, allocations: 12.55 kB / 0.5854 GB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.6385, allocations: 35.42 kB / 0.5854 GB, free: 3.16 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6385, allocations: 0 / 0.5854 GB, free: 3.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/0.6648, allocations: 1.673 MB / 0.5871 GB, free: 1.496 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/0.6652, allocations: 121.3 kB / 0.5872 GB, free: 1.309 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.218, allocations: 4 kB / 0.5872 GB, free: 1.305 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_RootMeanSquare_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_RootMeanSquare.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat