Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadModel(Modelica): time 1.832/1.832, allocations: 194.8 MB / 211.6 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003571, allocations: 8 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08039/0.08077, allocations: 44.5 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002383/0.08319, allocations: 1.492 MB / 309.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.08581, allocations: 1.194 MB / 311 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.08604, allocations: 0 / 311 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.08617, allocations: 15.86 kB / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.08629, allocations: 19.91 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009919/0.08729, allocations: 239.3 kB / 311.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.08752, allocations: 123.7 kB / 311.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.08771, allocations: 56.27 kB / 311.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.08783, allocations: 75.67 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.08799, allocations: 87.64 kB / 311.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.08804, allocations: 8 kB / 311.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006021/0.08865, allocations: 299.5 kB / 311.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.08874, allocations: 39.83 kB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.957e-05/0.08882, allocations: 53.58 kB / 312 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.08933, allocations: 271.4 kB / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.449e-06/0.08935, allocations: 4 kB / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.679e-06/0.08937, allocations: 3.938 kB / 312.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.408e-06/0.08938, allocations: 0 / 312.3 MB, free: 13.04 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001246/0.09064, allocations: 0.5547 MB / 312.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.0907, allocations: 12.03 kB / 312.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.09099, allocations: 35.7 kB / 312.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.09135, allocations: 235.5 kB / 313.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.09141, allocations: 16.28 kB / 313.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.037e-05/0.09149, allocations: 19.91 kB / 313.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.09213, allocations: 218.9 kB / 313.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.09216, allocations: 4 kB / 313.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.0922, allocations: 4 kB / 313.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.09223, allocations: 8 kB / 313.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006222/0.09286, allocations: 184 kB / 313.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.09425, allocations: 0.5742 MB / 314.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.09568, allocations: 378.8 kB / 314.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.09573, allocations: 8.062 kB / 314.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005372/0.09628, allocations: 183.8 kB / 314.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 3.768e-06/0.0963, allocations: 0 / 314.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001407/0.09772, allocations: 0.4915 MB / 315.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.09781, allocations: 55.41 kB / 315.3 MB, free: 9.895 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.09812, allocations: 211.7 kB / 315.5 MB, free: 9.672 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/0.0982, allocations: 41.69 kB / 315.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.09836, allocations: 191 kB / 315.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.989e-05/0.09846, allocations: 71 kB / 315.8 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.0985, allocations: 4 kB / 315.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.09868, allocations: 330.8 kB / 316.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.09918, allocations: 151.9 kB / 316.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.0997, allocations: 177.6 kB / 316.4 MB, free: 8.703 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.1002, allocations: 158.8 kB / 316.6 MB, free: 8.551 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.851e-06/0.1002, allocations: 0 / 316.6 MB, free: 8.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001164/0.1014, allocations: 406.6 kB / 317 MB, free: 8.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1014, allocations: 8.031 kB / 317 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.645e-06/0.1015, allocations: 0 / 317 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1015, allocations: 4 kB / 317 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.1019, allocations: 71.89 kB / 317 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.091e-06/0.1019, allocations: 0 / 317 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.1022, allocations: 55.66 kB / 317.1 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.1023, allocations: 12 kB / 317.1 MB, free: 8 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0002208/0.1025, allocations: 145.7 kB / 317.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.1026, allocations: 19.81 kB / 317.3 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.533e-05/0.1026, allocations: 29.8 kB / 317.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.814e-06/0.1027, allocations: 3.984 kB / 317.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.652e-06/0.1027, allocations: 0 / 317.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.075e-06/0.1027, allocations: 0 / 317.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.1043, allocations: 0.6785 MB / 318 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/0.1044, allocations: 0 / 318 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.1047, allocations: 63.89 kB / 318 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.127e-06/0.1048, allocations: 0 / 318 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.1048, allocations: 8 kB / 318.1 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1048, allocations: 3.938 kB / 318.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1048, allocations: 0 / 318.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.1063, allocations: 0.5377 MB / 318.6 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.305e-05/0.1064, allocations: 92.86 kB / 318.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.1065, allocations: 8.062 kB / 318.7 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.1067, allocations: 35.97 kB / 318.7 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.1068, allocations: 15.97 kB / 318.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.1069, allocations: 4 kB / 318.8 MB, free: 6.262 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002024/0.1071, allocations: 147.2 kB / 318.9 MB, free: 6.117 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.95e-07/0.1071, allocations: 0 / 318.9 MB, free: 6.117 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005917/0.1077, allocations: 107.9 kB / 319 MB, free: 6.012 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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.0008889/0.1086, allocations: 289.1 kB / 319.3 MB, free: 5.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.1097, allocations: 312.4 kB / 319.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.268e-06/0.1097, allocations: 0 / 319.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.1102, allocations: 135.9 kB / 319.7 MB, free: 5.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.1105, allocations: 24.06 kB / 319.7 MB, free: 5.289 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.1117, allocations: 0.5437 MB / 320.3 MB, free: 4.715 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.1122, allocations: 0.7514 MB / 321 MB, free: 3.934 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.1123, allocations: 31.42 kB / 321.1 MB, free: 3.902 MB / 266.7 MB Notification: Performance of SimCode: time 1.527e-06/0.1124, allocations: 0 / 321.1 MB, free: 3.902 MB / 266.7 MB Notification: Performance of Templates: time 0.009317/0.1217, allocations: 4.222 MB / 325.3 MB, free: 15.68 MB / 282.7 MB make -j1 -f Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesInitialize.cpp:355:3: error: use of undeclared identifier \'$PRE_P_noise_P_state_\'; did you mean \'_noise_P_state_\'?\n $PRE_P_noise_P_state_.assign(tmp65);\n ^~~~~~~~~~~~~~~~~~~~~\n _noise_P_state_\n./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.h:214:33: note: \'_noise_P_state_\' declared here\n StatArrayDim1 _noise_P_state_;\n ^\nIn file included from OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp:33:\n./OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.cpp:232:90: error: no matching member function for call to \'pre\'\n _functions->Modelica_Math_Random_Generators_Xorshift128plus_random(_discrete_events->pre(_noise_P_state_), tmp3);\n ~~~~~~~~~~~~~~~~~~^~~\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:29:11: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const double\' for 1st argument\n double& pre(const double& var);\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:30:8: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const int\' for 1st argument\n int& pre(const int& var);\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:31:9: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const bool\' for 1st argument\n bool& pre(const bool& var);\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/DiscreteEvents.h:32:16: note: candidate function not viable: no known conversion from \'StatArrayDim1\' to \'const std::string\' (aka \'const basic_string\') for 1st argument\n std::string& pre(const std::string& var);\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o] Error 1\n'