Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 101.5 kB / 17.8 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.1 MB / 224.6 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 51.94 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1303, allocations: 46.63 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.00434/0.1346, allocations: 1.906 MB / 329.2 MB, free: 2.977 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.1375, allocations: 1.306 MB / 330.5 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.521e-05/0.1376, allocations: 0 / 330.5 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.1378, allocations: 11.86 kB / 330.5 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/0.1378, allocations: 23.8 kB / 330.5 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008263/0.1387, allocations: 259.5 kB / 330.7 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.1389, allocations: 207.5 kB / 330.9 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.1391, allocations: 64.05 kB / 331 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1393, allocations: 87.62 kB / 331.1 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.1394, allocations: 103.5 kB / 331.2 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.1395, allocations: 12 kB / 331.2 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005439/0.14, allocations: 315.4 kB / 331.5 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.1401, allocations: 47.81 kB / 331.6 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1402, allocations: 99.38 kB / 331.7 MB, free: 464 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.1407, allocations: 271.7 kB / 331.9 MB, free: 192 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1407, allocations: 0 / 331.9 MB, free: 192 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1407, allocations: 0 / 331.9 MB, free: 192 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1407, allocations: 0 / 331.9 MB, free: 192 kB / 270.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.001501/0.1422, allocations: 0.5779 MB / 332.5 MB, free: 15.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1423, allocations: 12.03 kB / 332.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.1426, allocations: 36.64 kB / 332.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.1429, allocations: 240.7 kB / 332.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.1429, allocations: 16.66 kB / 332.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.143, allocations: 20.38 kB / 332.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.1435, allocations: 203 kB / 333 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1436, allocations: 4 kB / 333 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.1436, allocations: 4 kB / 333 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.1436, allocations: 4 kB / 333 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.1441, allocations: 164 kB / 333.2 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.1454, allocations: 0.5738 MB / 333.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.1466, allocations: 306.6 kB / 334.1 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.1469, allocations: 120.7 kB / 334.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.147, allocations: 0 / 334.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004405/0.1474, allocations: 163.3 kB / 334.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/0.1474, allocations: 0 / 334.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001139/0.1486, allocations: 360.5 kB / 334.7 MB, free: 13.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.1486, allocations: 67.41 kB / 334.8 MB, free: 13.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.1489, allocations: 207.7 kB / 335 MB, free: 12.95 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.149, allocations: 41.69 kB / 335 MB, free: 12.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.1491, allocations: 124.6 kB / 335.1 MB, free: 12.78 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/0.1492, allocations: 74.97 kB / 335.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.1493, allocations: 69.69 kB / 335.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.1495, allocations: 334.8 kB / 335.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.1499, allocations: 135.9 kB / 335.7 MB, free: 12.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.1503, allocations: 157.6 kB / 335.9 MB, free: 12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.151, allocations: 268.6 kB / 336.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.151, allocations: 3.938 kB / 336.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008571/0.1519, allocations: 370.7 kB / 336.5 MB, free: 11.37 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1519, allocations: 8 kB / 336.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1519, allocations: 0 / 336.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1519, allocations: 0 / 336.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.1523, allocations: 71.88 kB / 336.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1523, allocations: 4 kB / 336.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1525, allocations: 43.75 kB / 336.6 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.1525, allocations: 12 kB / 336.6 MB, free: 11.23 MB / 286.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,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.1528, allocations: 145.6 kB / 336.8 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.1528, allocations: 15.81 kB / 336.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.528e-05/0.1529, allocations: 25.81 kB / 336.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1529, allocations: 4 kB / 336.8 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1529, allocations: 4 kB / 336.8 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.1529, allocations: 3.984 kB / 336.8 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.1543, allocations: 0.6346 MB / 337.5 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1543, allocations: 0 / 337.5 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.1546, allocations: 51.89 kB / 337.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1546, allocations: 4 kB / 337.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.1546, allocations: 3.984 kB / 337.5 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1547, allocations: 3.984 kB / 337.5 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1547, allocations: 4 kB / 337.5 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.1558, allocations: 488 kB / 338 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.1559, allocations: 96.84 kB / 338.1 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.522e-05/0.156, allocations: 15.94 kB / 338.1 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.1561, allocations: 19.97 kB / 338.1 MB, free: 9.625 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.1562, allocations: 19.97 kB / 338.2 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1562, allocations: 7.984 kB / 338.2 MB, free: 9.598 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.1564, allocations: 147.2 kB / 338.3 MB, free: 9.453 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1564, allocations: 0 / 338.3 MB, free: 9.453 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005643/0.157, allocations: 107.9 kB / 338.4 MB, free: 9.348 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007959/0.1578, allocations: 281.1 kB / 338.7 MB, free: 9.074 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008124/0.1586, allocations: 287.4 kB / 339 MB, free: 8.793 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1586, allocations: 0 / 339 MB, free: 8.793 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.159, allocations: 115.9 kB / 339.1 MB, free: 8.68 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1593, allocations: 23.92 kB / 339.1 MB, free: 8.656 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1604, allocations: 0.5357 MB / 339.7 MB, free: 8.09 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.1609, allocations: 0.7398 MB / 340.4 MB, free: 7.324 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.161, allocations: 31.42 kB / 340.4 MB, free: 7.293 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.161, allocations: 3.938 kB / 340.4 MB, free: 7.289 MB / 286.1 MB Notification: Performance of Templates: time 0.007621/0.1686, allocations: 4.171 MB / 344.6 MB, free: 3.113 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o] Error 1