Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 94.03 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 199.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002502/0.0002502, allocations: 8 kB / 307.3 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1234, allocations: 51.49 MB / 358.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002345/0.1258, allocations: 1.525 MB / 360.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.128, allocations: 1.221 MB / 361.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.865e-05/0.1282, allocations: 0 / 361.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.1283, allocations: 15.86 kB / 361.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.607e-05/0.1284, allocations: 15.81 kB / 361.6 MB, free: 11.36 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008136/0.1292, allocations: 255.5 kB / 361.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.1294, allocations: 183.5 kB / 362 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1296, allocations: 64.23 kB / 362.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.474e-05/0.1297, allocations: 67.7 kB / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.13, allocations: 99.56 kB / 362.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.13, allocations: 8 kB / 362.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.1305, allocations: 283.5 kB / 362.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.1305, allocations: 47.81 kB / 362.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/0.1306, allocations: 53.58 kB / 362.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.131, allocations: 271.7 kB / 362.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.131, allocations: 0 / 362.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.131, allocations: 0 / 362.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.131, allocations: 0 / 362.9 MB, free: 10.05 MB / 302.1 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.001115/0.1321, allocations: 0.5583 MB / 363.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1322, allocations: 8.031 kB / 363.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.1324, allocations: 39.7 kB / 363.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.1327, allocations: 232.3 kB / 363.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/0.1327, allocations: 20.23 kB / 363.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.1328, allocations: 19.94 kB / 363.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.1333, allocations: 222.7 kB / 364 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1333, allocations: 0 / 364 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.1334, allocations: 7.938 kB / 364 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1334, allocations: 4 kB / 364 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.1338, allocations: 176.4 kB / 364.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.1349, allocations: 0.5863 MB / 364.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.1359, allocations: 373.3 kB / 365.1 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.1362, allocations: 133 kB / 365.2 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.1363, allocations: 16 kB / 365.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004115/0.1367, allocations: 187.2 kB / 365.4 MB, free: 7.332 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/0.1367, allocations: 4 kB / 365.4 MB, free: 7.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009958/0.1377, allocations: 411.1 kB / 365.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.1378, allocations: 63.41 kB / 365.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.138, allocations: 211.7 kB / 366.1 MB, free: 6.625 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.1381, allocations: 41.7 kB / 366.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.1382, allocations: 124.6 kB / 366.3 MB, free: 6.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.1382, allocations: 71 kB / 366.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.1382, allocations: 4 kB / 366.3 MB, free: 6.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1384, allocations: 338.8 kB / 366.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.1388, allocations: 147.9 kB / 366.8 MB, free: 5.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.1392, allocations: 173.6 kB / 367 MB, free: 5.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.1395, allocations: 162.5 kB / 367.1 MB, free: 5.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1395, allocations: 0 / 367.1 MB, free: 5.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008099/0.1403, allocations: 414.8 kB / 367.5 MB, free: 5.152 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1404, allocations: 4 kB / 367.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.1404, allocations: 0 / 367.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.1404, allocations: 4 kB / 367.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.1407, allocations: 79.88 kB / 367.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1407, allocations: 4 kB / 367.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.1409, allocations: 59.59 kB / 367.7 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.141, allocations: 12 kB / 367.7 MB, free: 4.992 MB / 302.1 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.0001844/0.1412, allocations: 141.8 kB / 367.8 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.1412, allocations: 27.67 kB / 367.9 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.1413, allocations: 21.88 kB / 367.9 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1413, allocations: 0 / 367.9 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1413, allocations: 3.938 kB / 367.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1413, allocations: 7.984 kB / 367.9 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.1425, allocations: 0.6738 MB / 368.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1425, allocations: 0 / 368.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.1428, allocations: 55.89 kB / 368.6 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.1428, allocations: 4 kB / 368.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.1428, allocations: 7.984 kB / 368.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1428, allocations: 0 / 368.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1429, allocations: 0 / 368.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.1439, allocations: 0.5336 MB / 369.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.144, allocations: 100.8 kB / 369.3 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.1441, allocations: 12.06 kB / 369.3 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.1443, allocations: 27.97 kB / 369.3 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.1443, allocations: 11.98 kB / 369.3 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.1444, allocations: 11.98 kB / 369.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1445, allocations: 147.2 kB / 369.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1445, allocations: 0 / 369.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005155/0.1451, allocations: 107.9 kB / 369.6 MB, free: 3.004 MB / 302.1 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.0007979/0.1459, allocations: 269 kB / 369.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007898/0.1467, allocations: 312.4 kB / 370.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1467, allocations: 4 kB / 370.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.147, allocations: 131.9 kB / 370.3 MB, free: 2.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1474, allocations: 31.77 kB / 370.3 MB, free: 2.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1484, allocations: 0.5422 MB / 370.9 MB, free: 1.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.1489, allocations: 0.7437 MB / 371.6 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.149, allocations: 23.44 kB / 371.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.149, allocations: 0 / 371.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of Templates: time 0.2358/0.3848, allocations: 4.062 MB / 375.7 MB, free: 18.88 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile clang++ NOTFOUND -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/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_trunk_Modelica.Blocks.Examples.Noise.NormalNoisePropertiesCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoisePropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoisePropertiesCalcHelperMain.o] Error 1