Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.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.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 108.8 kB / 17.81 MB, free: 5.559 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.002014/0.002014, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.779/1.779, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001291/0.001291, allocations: 51.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1472, allocations: 46.62 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.004633/0.1519, allocations: 1.629 MB / 328.9 MB, free: 3.258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1534, allocations: 0.5659 MB / 329.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1536, allocations: 4 kB / 329.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.771e-05/0.1538, allocations: 3.938 kB / 329.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.154, allocations: 3.938 kB / 329.5 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.1544, allocations: 39.89 kB / 329.5 MB, free: 2.633 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1545, allocations: 47.86 kB / 329.5 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.1547, allocations: 19.98 kB / 329.6 MB, free: 2.566 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.1548, allocations: 11.94 kB / 329.6 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1549, allocations: 35.83 kB / 329.6 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.1549, allocations: 4 kB / 329.6 MB, free: 2.516 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.1552, allocations: 43.91 kB / 329.6 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.1553, allocations: 7.938 kB / 329.7 MB, free: 2.465 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.1553, allocations: 27.8 kB / 329.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1555, allocations: 55.91 kB / 329.7 MB, free: 2.383 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1555, allocations: 3.938 kB / 329.7 MB, free: 2.379 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1555, allocations: 0 / 329.7 MB, free: 2.379 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1555, allocations: 4 kB / 329.7 MB, free: 2.375 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00069/0.1562, allocations: 379.5 kB / 330.1 MB, free: 1.957 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.1563, allocations: 8.031 kB / 330.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004901/0.1568, allocations: 48.8 kB / 330.2 MB, free: 1.902 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1571, allocations: 172.2 kB / 330.3 MB, free: 1.695 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.1571, allocations: 4.375 kB / 330.3 MB, free: 1.691 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.1572, allocations: 12.31 kB / 330.4 MB, free: 1.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.1575, allocations: 93.89 kB / 330.4 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1575, allocations: 4 kB / 330.5 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.1575, allocations: 4 kB / 330.5 MB, free: 1.574 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1575, allocations: 0 / 330.5 MB, free: 1.574 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.1577, allocations: 67.94 kB / 330.5 MB, free: 1.508 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007485/0.1585, allocations: 352.5 kB / 330.9 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1588, allocations: 74.53 kB / 330.9 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1589, allocations: 32.97 kB / 331 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.1589, allocations: 7.984 kB / 331 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.159, allocations: 34.56 kB / 331 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 2.335e-06/0.159, allocations: 0 / 331 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005016/0.1595, allocations: 117.6 kB / 331.1 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.1596, allocations: 55.41 kB / 331.2 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.1599, allocations: 130 kB / 331.3 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1599, allocations: 25.7 kB / 331.3 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/0.16, allocations: 95.98 kB / 331.4 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.16, allocations: 23.7 kB / 331.5 MB, free: 480 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.119e-05/0.1601, allocations: 17.72 kB / 331.5 MB, free: 456 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.1603, allocations: 314.8 kB / 331.8 MB, free: 132 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.1605, allocations: 27.98 kB / 331.8 MB, free: 104 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-05/0.1606, allocations: 31.97 kB / 331.8 MB, free: 72 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.1608, allocations: 56.77 kB / 331.9 MB, free: 12 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1608, allocations: 0 / 331.9 MB, free: 12 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004412/0.1612, allocations: 93.64 kB / 332 MB, free: 15.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.1613, allocations: 4 kB / 332 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1613, allocations: 0 / 332 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.1614, allocations: 4 kB / 332 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.1616, allocations: 19.98 kB / 332 MB, free: 15.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/0.1616, allocations: 3.938 kB / 332 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1617, allocations: 20.27 kB / 332 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1617, allocations: 0 / 332 MB, free: 15.86 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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.0002112/0.1619, allocations: 113.8 kB / 332.1 MB, free: 15.74 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.162, allocations: 0 / 332.1 MB, free: 15.74 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.1625, allocations: 125.5 kB / 332.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1625, allocations: 0 / 332.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.1625, allocations: 7.875 kB / 332.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1625, allocations: 4 kB / 332.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.1628, allocations: 193.5 kB / 332.5 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1628, allocations: 0 / 332.5 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.163, allocations: 19.98 kB / 332.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.163, allocations: 8 kB / 332.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.163, allocations: 0 / 332.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.163, allocations: 0 / 332.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.163, allocations: 3.938 kB / 332.5 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.1633, allocations: 191.4 kB / 332.7 MB, free: 15.13 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.1634, allocations: 85.02 kB / 332.8 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.1635, allocations: 0 / 332.8 MB, free: 15.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1636, allocations: 15.98 kB / 332.8 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.1636, allocations: 7.938 kB / 332.8 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1637, allocations: 7.984 kB / 332.8 MB, free: 15 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.1637, allocations: 91.78 kB / 332.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1637, allocations: 0 / 332.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.164, allocations: 15.98 kB / 332.9 MB, free: 14.89 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000168/0.1642, allocations: 95.25 kB / 333 MB, free: 14.79 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.1645, allocations: 67.89 kB / 333.1 MB, free: 14.72 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1645, allocations: 0 / 333.1 MB, free: 14.72 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.1646, allocations: 35.97 kB / 333.1 MB, free: 14.69 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.1651, allocations: 8 kB / 333.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007039/0.1658, allocations: 248.7 kB / 333.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.1662, allocations: 0.6926 MB / 334 MB, free: 13.69 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.1663, allocations: 7.438 kB / 334 MB, free: 13.68 MB / 286.1 MB Notification: Performance of SimCode: time 2.986e-06/0.1663, allocations: 0 / 334 MB, free: 13.68 MB / 286.1 MB Notification: Performance of Templates: time 0.004122/0.1705, allocations: 0.9801 MB / 335 MB, free: 12.7 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.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.DensitiesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DensitiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DensitiesCalcHelperMain.o] Error 1