Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008198/0.0008202, allocations: 94.8 kB / 17.96 MB, free: 5.344 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.0008482/0.0008484, allocations: 176.6 kB / 18.86 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.979/1.979, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005321/0.0005325, allocations: 12 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1306, allocations: 47.58 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001722/0.1324, allocations: 1.073 MB / 330.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008643/0.1333, allocations: 353.4 kB / 331 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.1333, allocations: 0 / 331 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.1334, allocations: 0 / 331 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.364e-05/0.1334, allocations: 7.922 kB / 331 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.1339, allocations: 75.88 kB / 331.1 MB, free: 2.254 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.374e-05/0.134, allocations: 11.98 kB / 331.1 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.756e-05/0.134, allocations: 7.984 kB / 331.1 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.1341, allocations: 11.88 kB / 331.1 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.961e-05/0.1341, allocations: 7.922 kB / 331.2 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1341, allocations: 3.938 kB / 331.2 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.1343, allocations: 87.91 kB / 331.2 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.1344, allocations: 0 / 331.2 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.1344, allocations: 33.64 kB / 331.3 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1346, allocations: 59.89 kB / 331.3 MB, free: 2.027 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1346, allocations: 0 / 331.3 MB, free: 2.027 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1346, allocations: 4 kB / 331.3 MB, free: 2.023 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.1346, allocations: 0 / 331.3 MB, free: 2.023 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004897/0.1351, allocations: 343.7 kB / 331.7 MB, free: 1.637 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.1352, allocations: 8.031 kB / 331.7 MB, free: 1.629 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.1353, allocations: 4.938 kB / 331.7 MB, free: 1.625 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1354, allocations: 180.1 kB / 331.9 MB, free: 1.41 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1355, allocations: 384 / 331.9 MB, free: 1.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.1355, allocations: 4.375 kB / 331.9 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.1356, allocations: 38.27 kB / 331.9 MB, free: 1.363 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1356, allocations: 192 / 331.9 MB, free: 1.363 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1356, allocations: 3.938 kB / 331.9 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1357, allocations: 0 / 331.9 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.658e-05/0.1357, allocations: 7.984 kB / 331.9 MB, free: 1.352 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.1361, allocations: 237 kB / 332.1 MB, free: 1.07 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.956e-05/0.1362, allocations: 26.52 kB / 332.2 MB, free: 1.035 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.1362, allocations: 20.86 kB / 332.2 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.1363, allocations: 0 / 332.2 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.1364, allocations: 51.41 kB / 332.2 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1364, allocations: 0 / 332.2 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002021/0.1366, allocations: 65.61 kB / 332.3 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.1367, allocations: 51.41 kB / 332.4 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1368, allocations: 105.8 kB / 332.5 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1369, allocations: 29.7 kB / 332.5 MB, free: 0.668 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.1369, allocations: 84.14 kB / 332.6 MB, free: 0.582 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.1369, allocations: 3.906 kB / 332.6 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.137, allocations: 17.66 kB / 332.6 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1371, allocations: 318.8 kB / 332.9 MB, free: 240 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.1372, allocations: 4 kB / 332.9 MB, free: 236 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.1372, allocations: 21.72 kB / 332.9 MB, free: 208 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.294e-05/0.1373, allocations: 37.64 kB / 333 MB, free: 164 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1373, allocations: 0 / 333 MB, free: 164 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001048/0.1374, allocations: 57.53 kB / 333 MB, free: 100 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1374, allocations: 8 kB / 333 MB, free: 92 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1374, allocations: 0 / 333 MB, free: 92 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1374, allocations: 0 / 333 MB, free: 92 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.1375, allocations: 11.94 kB / 333 MB, free: 80 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1375, allocations: 3.938 kB / 333 MB, free: 76 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.1375, allocations: 4 kB / 333 MB, free: 72 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1375, allocations: 4.031 kB / 333.1 MB, free: 68 kB / 270.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: 4 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * 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.0001282/0.1377, allocations: 117.8 kB / 333.2 MB, free: 15.94 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.1377, allocations: 4 kB / 333.2 MB, free: 15.94 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.1377, allocations: 8.141 kB / 333.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1377, allocations: 0 / 333.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1378, allocations: 0 / 333.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1378, allocations: 3.984 kB / 333.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.1381, allocations: 286.5 kB / 333.5 MB, free: 15.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1381, allocations: 4 kB / 333.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.098e-05/0.1381, allocations: 0 / 333.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1381, allocations: 3.984 kB / 333.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1381, allocations: 0 / 333.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1381, allocations: 4 kB / 333.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1381, allocations: 0 / 333.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.1383, allocations: 151.4 kB / 333.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.1383, allocations: 77.11 kB / 333.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.1384, allocations: 4 kB / 333.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-05/0.1384, allocations: 384 / 333.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.1385, allocations: 3.984 kB / 333.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1385, allocations: 7.938 kB / 333.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.42e-05/0.1385, allocations: 87.28 kB / 333.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.304e-06/0.1386, allocations: 0 / 333.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1388, allocations: 31.92 kB / 333.8 MB, free: 15.18 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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004908/0.1393, allocations: 189.2 kB / 334 MB, free: 15 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.928e-05/0.1394, allocations: 16 kB / 334 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1395, allocations: 0 / 334 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.1395, allocations: 11.98 kB / 334 MB, free: 14.97 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.1397, allocations: 0 / 334 MB, free: 14.97 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.1401, allocations: 146.4 kB / 334.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1404, allocations: 0.6809 MB / 334.9 MB, free: 14.09 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.601e-05/0.1404, allocations: 7.438 kB / 334.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1404, allocations: 0 / 334.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of Templates: time 0.003473/0.1439, allocations: 1.144 MB / 336 MB, free: 12.94 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGeneratorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGeneratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGeneratorCalcHelperMain.o] Error 1