Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01056/0.01056, allocations: 104 kB / 15.05 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001178/0.001178, allocations: 172.1 kB / 15.93 MB, free: 5.91 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.79/1.79, allocations: 170.9 MB / 187.5 MB, free: 0.8477 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2922/0.2922, allocations: 38.1 MB / 265.1 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006394/0.0006394, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09614/0.09682, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002475/0.09935, allocations: 1.301 MB / 373.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1007, allocations: 0.5266 MB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.1008, allocations: 0 / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.48e-05/0.1009, allocations: 3.938 kB / 374.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.634e-05/0.101, allocations: 15.92 kB / 374.1 MB, free: 11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.1013, allocations: 51.86 kB / 374.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1015, allocations: 63.86 kB / 374.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1016, allocations: 31.95 kB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1018, allocations: 31.84 kB / 374.3 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1019, allocations: 35.84 kB / 374.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1019, allocations: 7.938 kB / 374.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.421e-05/0.102, allocations: 4 kB / 374.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.102, allocations: 23.91 kB / 374.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.1021, allocations: 37.64 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1022, allocations: 72.08 kB / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1023, allocations: 0 / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1023, allocations: 0 / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1023, allocations: 0 / 374.5 MB, free: 10.64 MB / 282.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.0008018/0.1031, allocations: 391.1 kB / 374.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1031, allocations: 12.03 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.597e-05/0.1033, allocations: 42.55 kB / 374.9 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.1033, allocations: 11.81 kB / 374.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1036, allocations: 206.7 kB / 375.1 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1036, allocations: 4 kB / 375.1 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.1037, allocations: 12 kB / 375.1 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.104, allocations: 85.64 kB / 375.2 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.104, allocations: 0 / 375.2 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.104, allocations: 4 kB / 375.2 MB, free: 9.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1041, allocations: 8 kB / 375.2 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.1043, allocations: 51.95 kB / 375.3 MB, free: 9.727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007343/0.105, allocations: 364.6 kB / 375.6 MB, free: 9.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1053, allocations: 66.58 kB / 375.7 MB, free: 9.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1053, allocations: 3.984 kB / 375.7 MB, free: 9.242 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.1056, allocations: 111.3 kB / 375.8 MB, free: 9.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.114e-06/0.1056, allocations: 0 / 375.8 MB, free: 9.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005178/0.1061, allocations: 133.5 kB / 376 MB, free: 8.984 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1062, allocations: 55.41 kB / 376 MB, free: 8.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1064, allocations: 136.7 kB / 376.1 MB, free: 8.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.1064, allocations: 34.08 kB / 376.2 MB, free: 8.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.1065, allocations: 108.2 kB / 376.3 MB, free: 8.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.1066, allocations: 27.61 kB / 376.3 MB, free: 8.594 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.1066, allocations: 4 kB / 376.3 MB, free: 8.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1067, allocations: 322.8 kB / 376.6 MB, free: 8.266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.1069, allocations: 23.98 kB / 376.6 MB, free: 8.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1071, allocations: 98.97 kB / 376.7 MB, free: 8.121 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1072, allocations: 35.98 kB / 376.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1072, allocations: 7.938 kB / 376.8 MB, free: 8.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004153/0.1077, allocations: 137.3 kB / 376.9 MB, free: 7.938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.1077, allocations: 11.98 kB / 376.9 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1077, allocations: 0 / 376.9 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.1078, allocations: 4 kB / 376.9 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.108, allocations: 32.14 kB / 377 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.108, allocations: 4 kB / 377 MB, free: 7.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1081, allocations: 11.91 kB / 377 MB, free: 7.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.1082, allocations: 8 kB / 377 MB, free: 7.867 MB / 282.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.000153/0.1083, allocations: 122.8 kB / 377.1 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.1084, allocations: 19.84 kB / 377.1 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.1084, allocations: 8.719 kB / 377.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1084, allocations: 0 / 377.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1085, allocations: 8 kB / 377.1 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1085, allocations: 0 / 377.1 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.1088, allocations: 209.7 kB / 377.4 MB, free: 7.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1088, allocations: 0 / 377.4 MB, free: 7.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.1091, allocations: 11.98 kB / 377.4 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1091, allocations: 0 / 377.4 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.1091, allocations: 7.953 kB / 377.4 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1092, allocations: 0 / 377.4 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1092, allocations: 0 / 377.4 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/0.11, allocations: 172.9 kB / 377.5 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.1102, allocations: 93.03 kB / 377.6 MB, free: 7.133 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.1102, allocations: 4 kB / 377.6 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1103, allocations: 7.938 kB / 377.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.1104, allocations: 11.94 kB / 377.7 MB, free: 7.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1104, allocations: 8.047 kB / 377.7 MB, free: 7.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1106, allocations: 109.7 kB / 377.8 MB, free: 6.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.1106, allocations: 96 / 377.8 MB, free: 6.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005801/0.1112, allocations: 27.84 kB / 377.8 MB, free: 6.969 MB / 282.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.0009309/0.1121, allocations: 0.7022 MB / 378.5 MB, free: 6.238 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003543/0.1125, allocations: 83.97 kB / 378.6 MB, free: 6.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1125, allocations: 0 / 378.6 MB, free: 6.156 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.1127, allocations: 32.48 kB / 378.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.1129, allocations: 16.05 kB / 378.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.1144, allocations: 1.743 MB / 380.4 MB, free: 4.285 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.1147, allocations: 0.7043 MB / 381.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.344e-05/0.1148, allocations: 12.55 kB / 381.1 MB, free: 3.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/0.1149, allocations: 27.42 kB / 381.1 MB, free: 3.516 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1149, allocations: 0 / 381.1 MB, free: 3.516 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.1369, allocations: 1.959 MB / 383.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003193/0.1373, allocations: 165.2 kB / 383.2 MB, free: 1.398 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/2.452, allocations: 0 / 383.2 MB, free: 1.398 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat