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.001163/0.001163, allocations: 91.05 kB / 17.95 MB, free: 5.625 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.001793/0.001793, allocations: 180.6 kB / 18.86 MB, free: 4.77 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.972/1.972, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005881/0.0005885, allocations: 8 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1374, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002715/0.1401, allocations: 1.56 MB / 331.2 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.1432, allocations: 1.283 MB / 332.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003127/0.1436, allocations: 0 / 332.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.1438, allocations: 7.875 kB / 332.5 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.1441, allocations: 23.78 kB / 332.5 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.1455, allocations: 263.5 kB / 332.7 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.1459, allocations: 203.5 kB / 332.9 MB, free: 420 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.1461, allocations: 60.05 kB / 333 MB, free: 360 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.1463, allocations: 79.62 kB / 333.1 MB, free: 280 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.1465, allocations: 99.52 kB / 333.2 MB, free: 180 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.1466, allocations: 12 kB / 333.2 MB, free: 168 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007875/0.1474, allocations: 303.4 kB / 333.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1475, allocations: 47.81 kB / 333.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.1477, allocations: 109.1 kB / 333.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00071/0.1484, allocations: 275.6 kB / 333.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1485, allocations: 0 / 333.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.1485, allocations: 7.938 kB / 333.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1485, allocations: 0 / 333.9 MB, free: 15.43 MB / 286.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.001634/0.1501, allocations: 0.5624 MB / 334.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.238e-05/0.1502, allocations: 12.03 kB / 334.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/0.1506, allocations: 32.64 kB / 334.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.151, allocations: 236.8 kB / 334.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.151, allocations: 16.66 kB / 334.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.1511, allocations: 24.36 kB / 334.8 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.1517, allocations: 223 kB / 335 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1517, allocations: 0 / 335 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.1517, allocations: 4 kB / 335 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.1518, allocations: 4 kB / 335 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000542/0.1523, allocations: 188 kB / 335.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.1537, allocations: 0.5895 MB / 335.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.155, allocations: 370.6 kB / 336.1 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.1554, allocations: 140.7 kB / 336.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.1554, allocations: 0 / 336.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005722/0.156, allocations: 179.3 kB / 336.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.974e-06/0.156, allocations: 0 / 336.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001293/0.1573, allocations: 421.1 kB / 336.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.1574, allocations: 59.41 kB / 336.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.1577, allocations: 207.8 kB / 337.1 MB, free: 12 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.1578, allocations: 41.7 kB / 337.2 MB, free: 11.96 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1579, allocations: 136.6 kB / 337.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.158, allocations: 67.02 kB / 337.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1582, allocations: 49.62 kB / 337.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.1584, allocations: 330.8 kB / 337.7 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.1589, allocations: 147.9 kB / 337.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/0.1594, allocations: 181.6 kB / 338.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/0.1603, allocations: 300.6 kB / 338.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.1603, allocations: 7.922 kB / 338.4 MB, free: 10.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001079/0.1614, allocations: 410.8 kB / 338.8 MB, free: 10.33 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.1614, allocations: 8 kB / 338.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.1615, allocations: 0 / 338.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.1615, allocations: 0 / 338.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.1619, allocations: 83.89 kB / 338.9 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.1619, allocations: 3.938 kB / 338.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.1622, allocations: 47.72 kB / 338.9 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.1623, allocations: 16 kB / 338.9 MB, free: 10.17 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.0002632/0.1625, allocations: 149.6 kB / 339.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.1626, allocations: 19.72 kB / 339.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.1627, allocations: 29.8 kB / 339.1 MB, free: 9.965 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1627, allocations: 4 kB / 339.1 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.1627, allocations: 0 / 339.1 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1627, allocations: 0 / 339.1 MB, free: 9.961 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.1644, allocations: 0.6777 MB / 339.8 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.1644, allocations: 4 kB / 339.8 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.1646, allocations: 51.91 kB / 339.9 MB, free: 9.172 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.1647, allocations: 3.984 kB / 339.9 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.1647, allocations: 8 kB / 339.9 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1647, allocations: 0 / 339.9 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1647, allocations: 0 / 339.9 MB, free: 9.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.166, allocations: 0.5389 MB / 340.4 MB, free: 8.605 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.1661, allocations: 100.8 kB / 340.5 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.1661, allocations: 12 kB / 340.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.1663, allocations: 27.97 kB / 340.5 MB, free: 8.449 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.1664, allocations: 15.98 kB / 340.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.1665, allocations: 7.984 kB / 340.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.1667, allocations: 155.1 kB / 340.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1667, allocations: 0 / 340.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005837/0.1673, allocations: 107.9 kB / 340.8 MB, free: 8.168 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.0009077/0.1682, allocations: 281.3 kB / 341.1 MB, free: 7.895 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008644/0.169, allocations: 323.8 kB / 341.4 MB, free: 7.578 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1691, allocations: 0 / 341.4 MB, free: 7.578 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.1694, allocations: 139 kB / 341.5 MB, free: 7.445 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1698, allocations: 31.8 kB / 341.6 MB, free: 7.414 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1711, allocations: 0.5632 MB / 342.1 MB, free: 6.82 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.1716, allocations: 0.7398 MB / 342.9 MB, free: 6.055 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1717, allocations: 31.42 kB / 342.9 MB, free: 6.023 MB / 286.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1718, allocations: 0 / 342.9 MB, free: 6.023 MB / 286.1 MB Notification: Performance of Templates: time 0.01183/0.1836, allocations: 4.135 MB / 347 MB, free: 1.883 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