Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,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.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002522/0.002522, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001118/0.001118, allocations: 86.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.917e-05/3.934e-05, allocations: 7.984 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09764, allocations: 47.57 MB / 369.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4323/0.53, allocations: 78.23 MB / 447.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.5303, allocations: 73.39 kB / 447.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02496/0.5553, allocations: 5.132 MB / 452.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5554, allocations: 4 kB / 452.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.5554, allocations: 4 kB / 452.5 MB, free: 10.45 MB / 330.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.00125/0.5567, allocations: 0.5157 MB / 453 MB, free: 9.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.5567, allocations: 8.031 kB / 453.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.557, allocations: 35.7 kB / 453.1 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.5575, allocations: 250.5 kB / 453.3 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.5575, allocations: 12.16 kB / 453.3 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.5576, allocations: 23.64 kB / 453.4 MB, free: 9.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.5581, allocations: 161 kB / 453.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.5581, allocations: 0 / 453.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.5582, allocations: 7.75 kB / 453.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.5582, allocations: 4 kB / 453.5 MB, free: 9.445 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.5586, allocations: 99.59 kB / 453.6 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.5602, allocations: 0.5972 MB / 454.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.5613, allocations: 240.7 kB / 454.5 MB, free: 8.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.5615, allocations: 76.42 kB / 454.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.5616, allocations: 11.8 kB / 454.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003758/0.5619, allocations: 135.1 kB / 454.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.836e-06/0.562, allocations: 0 / 454.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006274/0.5626, allocations: 198.3 kB / 454.9 MB, free: 8.289 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.5627, allocations: 59.53 kB / 454.9 MB, free: 8.219 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.563, allocations: 195 kB / 455.1 MB, free: 8.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.5631, allocations: 35.02 kB / 455.2 MB, free: 8.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.5632, allocations: 192.4 kB / 455.3 MB, free: 7.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.954e-05/0.5633, allocations: 73.8 kB / 455.4 MB, free: 7.773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.5633, allocations: 11.19 kB / 455.4 MB, free: 7.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5635, allocations: 318.6 kB / 455.7 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.5638, allocations: 95.95 kB / 455.8 MB, free: 7.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.5641, allocations: 119.1 kB / 456 MB, free: 7.309 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.5644, allocations: 99.08 kB / 456 MB, free: 7.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5644, allocations: 0 / 456 MB, free: 7.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007563/0.5652, allocations: 287.2 kB / 456.3 MB, free: 7.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.5652, allocations: 7.953 kB / 456.3 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.5653, allocations: 0 / 456.3 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.5653, allocations: 4 kB / 456.3 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.5659, allocations: 83.91 kB / 456.4 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.566, allocations: 0 / 456.4 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.5663, allocations: 54.03 kB / 456.5 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.5664, allocations: 15.19 kB / 456.5 MB, free: 6.879 MB / 330.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 () * 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.0001617/0.5666, allocations: 127.8 kB / 456.6 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.5666, allocations: 19.72 kB / 456.6 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/0.5667, allocations: 31.64 kB / 456.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.5668, allocations: 4 kB / 456.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5668, allocations: 0 / 456.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.5668, allocations: 0 / 456.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.5681, allocations: 0.5766 MB / 457.2 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.5682, allocations: 3.953 kB / 457.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000516/0.5687, allocations: 55.95 kB / 457.3 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.5687, allocations: 0 / 457.3 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.5688, allocations: 6.688 kB / 457.3 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5688, allocations: 0 / 457.3 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5688, allocations: 0 / 457.3 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008679/0.5697, allocations: 393.5 kB / 457.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/0.5698, allocations: 100.3 kB / 457.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.5699, allocations: 7.562 kB / 457.8 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.5703, allocations: 31.97 kB / 457.8 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.5703, allocations: 11.3 kB / 457.8 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.5704, allocations: 11.98 kB / 457.9 MB, free: 5.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.5706, allocations: 146.9 kB / 458 MB, free: 5.477 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5706, allocations: 0 / 458 MB, free: 5.477 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005913/0.5712, allocations: 101.8 kB / 458.1 MB, free: 5.387 MB / 330.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]) * 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.0007069/0.572, allocations: 231.8 kB / 458.3 MB, free: 5.168 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006974/0.5727, allocations: 236.5 kB / 458.6 MB, free: 4.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.5727, allocations: 0 / 458.6 MB, free: 4.988 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.5729, allocations: 81.23 kB / 458.6 MB, free: 4.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.5733, allocations: 27.23 kB / 458.7 MB, free: 4.914 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008739/0.5742, allocations: 360.1 kB / 459 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.5746, allocations: 0.7438 MB / 459.8 MB, free: 3.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.5748, allocations: 19.44 kB / 459.8 MB, free: 3.781 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5748, allocations: 0 / 459.8 MB, free: 3.781 MB / 330.7 MB Notification: Performance of Templates: time 0.00962/0.5844, allocations: 3.652 MB / 463.4 MB, free: 152 kB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesInitialize.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(tmp47);\n ^~~~~~~~~~~~~~~~~~~~~\n _noise_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoisePropertiesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.o] Error 1\n'