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.001133/0.001133, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.4 MB / 236 MB, free: 2.953 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.00119/0.00119, allocations: 80.06 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.244e-05, allocations: 4 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1493, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4305/0.5798, allocations: 86.83 MB / 0.5866 GB, free: 2.387 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.5801, allocations: 63.97 kB / 0.5866 GB, free: 2.324 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005147/0.5853, allocations: 1.753 MB / 0.5884 GB, free: 0.582 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5853, allocations: 0 / 0.5884 GB, free: 0.582 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.5853, allocations: 4 kB / 0.5884 GB, free: 0.5781 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.0004496/0.5858, allocations: 386.2 kB / 0.5887 GB, free: 160 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5858, allocations: 8.031 kB / 0.5887 GB, free: 152 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/0.5859, allocations: 42.55 kB / 0.5888 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.5859, allocations: 8.781 kB / 0.5888 GB, free: 92 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.5862, allocations: 207.9 kB / 0.589 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5862, allocations: 4 kB / 0.589 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.5862, allocations: 22.73 kB / 0.589 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.5864, allocations: 91.06 kB / 0.5891 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5864, allocations: 3.984 kB / 0.5891 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.5865, allocations: 4 kB / 0.5891 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.5865, allocations: 0 / 0.5891 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.715e-05/0.5866, allocations: 47.92 kB / 0.5892 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.5871, allocations: 384.5 kB / 0.5895 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.5873, allocations: 58.48 kB / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.5873, allocations: 24.95 kB / 0.5896 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.5873, allocations: 0 / 0.5896 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.5875, allocations: 99.34 kB / 0.5897 GB, free: 15.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.5875, allocations: 0 / 0.5897 GB, free: 15.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002121/0.5877, allocations: 85.58 kB / 0.5898 GB, free: 14.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.5878, allocations: 63.3 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5879, allocations: 126.4 kB / 0.59 GB, free: 14.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.5879, allocations: 29.7 kB / 0.59 GB, free: 14.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.588, allocations: 111.9 kB / 0.5901 GB, free: 14.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.588, allocations: 27.7 kB / 0.5901 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.588, allocations: 4 kB / 0.5901 GB, free: 14.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5882, allocations: 322.8 kB / 0.5904 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.5882, allocations: 16 kB / 0.5904 GB, free: 14.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-05/0.5883, allocations: 75.67 kB / 0.5905 GB, free: 14.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.229e-05/0.5884, allocations: 39.92 kB / 0.5906 GB, free: 14.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5884, allocations: 0 / 0.5906 GB, free: 14.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001906/0.5886, allocations: 129.4 kB / 0.5907 GB, free: 13.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5886, allocations: 9.562 kB / 0.5907 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5886, allocations: 3.938 kB / 0.5907 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.5886, allocations: 4 kB / 0.5907 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.5887, allocations: 23.98 kB / 0.5907 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.5888, allocations: 7.938 kB / 0.5907 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.5888, allocations: 15.94 kB / 0.5907 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.5889, allocations: 11.94 kB / 0.5908 GB, free: 13.88 MB / 410.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.731e-05/0.5889, allocations: 117.9 kB / 0.5909 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.589, allocations: 11.91 kB / 0.5909 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.589, allocations: 8.625 kB / 0.5909 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.589, allocations: 0 / 0.5909 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.589, allocations: 4 kB / 0.5909 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.589, allocations: 3.984 kB / 0.5909 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.5892, allocations: 205.7 kB / 0.5911 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5892, allocations: 0 / 0.5911 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.589e-05/0.5893, allocations: 15.92 kB / 0.5911 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5893, allocations: 8 kB / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.5893, allocations: 7.984 kB / 0.5911 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5893, allocations: 0 / 0.5911 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5894, allocations: 0 / 0.5911 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.5896, allocations: 156.8 kB / 0.5913 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.5897, allocations: 81.02 kB / 0.5913 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.5897, allocations: 8 kB / 0.5914 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.495e-05/0.5898, allocations: 8.047 kB / 0.5914 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.5898, allocations: 4 kB / 0.5914 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.5898, allocations: 7.984 kB / 0.5914 GB, free: 13.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.474e-05/0.5899, allocations: 100.4 kB / 0.5915 GB, free: 13.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5899, allocations: 0 / 0.5915 GB, free: 13.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002078/0.5901, allocations: 31.98 kB / 0.5915 GB, free: 13.03 MB / 410.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.0005047/0.5906, allocations: 0.6943 MB / 0.5922 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.5908, allocations: 67.88 kB / 0.5922 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5908, allocations: 0 / 0.5922 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.968e-05/0.5909, allocations: 27.92 kB / 0.5923 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.591, allocations: 15.94 kB / 0.5923 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.5915, allocations: 204 kB / 0.5925 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.5918, allocations: 0.7159 MB / 0.5932 GB, free: 11.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.5919, allocations: 4.562 kB / 0.5932 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.5919, allocations: 35.42 kB / 0.5932 GB, free: 11.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5919, allocations: 0 / 0.5932 GB, free: 11.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.6061, allocations: 2.019 MB / 0.5952 GB, free: 9.27 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.6064, allocations: 139.7 kB / 0.5953 GB, free: 9.047 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.236, allocations: 0 / 0.5953 GB, free: 9.047 MB / 410.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