Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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) 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: 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.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") 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.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001435/0.001435, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.823/1.823, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001099/0.001099, allocations: 92.42 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003928, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3225, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4454, allocations: 78.98 MB / 453.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.4457, allocations: 79.95 kB / 453.6 MB, free: 1.703 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03048/0.4762, allocations: 6.711 MB / 460.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4763, allocations: 0 / 460.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.4763, allocations: 4 kB / 460.3 MB, free: 10.98 MB / 346.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.001361/0.4777, allocations: 0.5636 MB / 460.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4778, allocations: 12.03 kB / 460.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.478, allocations: 27.8 kB / 460.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.4784, allocations: 243.4 kB / 461.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.4785, allocations: 20.23 kB / 461.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.451e-05/0.4786, allocations: 24 kB / 461.2 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007941/0.4794, allocations: 214.6 kB / 461.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4794, allocations: 0 / 461.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.4794, allocations: 8 kB / 461.4 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.4795, allocations: 4 kB / 461.4 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008396/0.4803, allocations: 176.4 kB / 461.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.4819, allocations: 0.5941 MB / 462.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.4838, allocations: 374.8 kB / 462.5 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.4838, allocations: 8.062 kB / 462.6 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006956/0.4845, allocations: 192.3 kB / 462.7 MB, free: 8.371 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.474e-06/0.4846, allocations: 4 kB / 462.7 MB, free: 8.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.00185/0.4864, allocations: 489 kB / 463.2 MB, free: 7.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.4865, allocations: 55.78 kB / 463.3 MB, free: 7.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.4868, allocations: 190.9 kB / 463.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/0.4869, allocations: 45.7 kB / 463.5 MB, free: 7.555 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.487, allocations: 187 kB / 463.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.724e-05/0.4871, allocations: 78.92 kB / 463.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.4872, allocations: 8 kB / 463.8 MB, free: 7.285 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4873, allocations: 322.8 kB / 464.1 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/0.488, allocations: 151.6 kB / 464.2 MB, free: 6.812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007034/0.4887, allocations: 170.2 kB / 464.4 MB, free: 6.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.4893, allocations: 153.2 kB / 464.6 MB, free: 6.492 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4893, allocations: 0 / 464.6 MB, free: 6.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00151/0.4909, allocations: 400.5 kB / 464.9 MB, free: 6.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.4909, allocations: 7.953 kB / 465 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.4909, allocations: 0 / 465 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.491, allocations: 4 kB / 465 MB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.4915, allocations: 83.88 kB / 465 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.4916, allocations: 0 / 465 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.4919, allocations: 43.73 kB / 465.1 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.492, allocations: 19.98 kB / 465.1 MB, free: 5.941 MB / 346.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): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.000216/0.4922, allocations: 142 kB / 465.2 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.4922, allocations: 27.67 kB / 465.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.4923, allocations: 25.83 kB / 465.3 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4924, allocations: 0 / 465.3 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4924, allocations: 0 / 465.3 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4924, allocations: 7.984 kB / 465.3 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.4944, allocations: 0.6816 MB / 466 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4944, allocations: 3.953 kB / 466 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.4949, allocations: 51.91 kB / 466 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4949, allocations: 0 / 466 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.4949, allocations: 15.98 kB / 466.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4949, allocations: 0 / 466.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4949, allocations: 0 / 466.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.4968, allocations: 0.5307 MB / 466.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.4969, allocations: 100.7 kB / 466.7 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/0.497, allocations: 16.17 kB / 466.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.4973, allocations: 27.98 kB / 466.7 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.4974, allocations: 15.97 kB / 466.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.4975, allocations: 8 kB / 466.7 MB, free: 4.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.4977, allocations: 143.2 kB / 466.9 MB, free: 4.051 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4977, allocations: 0 / 466.9 MB, free: 4.051 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006786/0.4984, allocations: 131.8 kB / 467 MB, free: 3.922 MB / 346.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.001058/0.4994, allocations: 321.1 kB / 467.3 MB, free: 3.625 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.5008, allocations: 350 kB / 467.7 MB, free: 3.277 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5008, allocations: 0 / 467.7 MB, free: 3.277 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005887/0.5014, allocations: 135.9 kB / 467.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.5018, allocations: 19.98 kB / 467.8 MB, free: 3.125 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.5031, allocations: 0.5515 MB / 468.4 MB, free: 2.539 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.5034, allocations: 0.7398 MB / 469.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.5036, allocations: 27.42 kB / 469.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5036, allocations: 0 / 469.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of Templates: time 0.01043/0.514, allocations: 4.423 MB / 473.6 MB, free: 13.32 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile make -j1 -f Modelica_3.2.3_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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_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(tmp70);\n ^~~~~~~~~~~~~~~~~~~~~\n _noise_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.h:214:33: note: \'_noise_P_state_\' declared here\n StatArrayDim1 _noise_P_state_;\n ^\n1 error generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o] Error 1\n'