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.001939/0.001939, allocations: 110.2 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.003071/0.003071, 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.98/1.98, 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.001264/0.001265, allocations: 51.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1437, allocations: 46.62 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.004113/0.1479, allocations: 1.405 MB / 328.7 MB, free: 3.484 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1491, allocations: 369.3 kB / 329 MB, free: 3.121 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.86e-05/0.1492, allocations: 0 / 329 MB, free: 3.121 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.266e-05/0.1493, allocations: 3.938 kB / 329 MB, free: 3.117 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.1494, allocations: 7.938 kB / 329 MB, free: 3.109 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006813/0.1501, allocations: 71.84 kB / 329.1 MB, free: 3.039 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.527e-05/0.1502, allocations: 15.94 kB / 329.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.255e-05/0.1503, allocations: 0 / 329.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.1504, allocations: 11.92 kB / 329.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.1504, allocations: 15.94 kB / 329.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1504, allocations: 0 / 329.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.1508, allocations: 79.91 kB / 329.2 MB, free: 2.918 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.1508, allocations: 3.984 kB / 329.2 MB, free: 2.914 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.1509, allocations: 11.94 kB / 329.2 MB, free: 2.902 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1511, allocations: 55.91 kB / 329.3 MB, free: 2.848 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.1511, allocations: 4 kB / 329.3 MB, free: 2.844 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1511, allocations: 3.938 kB / 329.3 MB, free: 2.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1512, allocations: 0 / 329.3 MB, free: 2.84 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.0006465/0.1518, allocations: 351.7 kB / 329.6 MB, free: 2.445 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.1519, allocations: 8.031 kB / 329.6 MB, free: 2.438 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.1519, allocations: 4.938 kB / 329.6 MB, free: 2.434 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.1521, allocations: 168.2 kB / 329.8 MB, free: 2.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.1522, allocations: 384 / 329.8 MB, free: 2.23 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.1522, allocations: 4.375 kB / 329.8 MB, free: 2.227 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1523, allocations: 38.25 kB / 329.9 MB, free: 2.184 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1523, allocations: 192 / 329.9 MB, free: 2.184 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1524, allocations: 3.938 kB / 329.9 MB, free: 2.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1524, allocations: 0 / 329.9 MB, free: 2.18 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.1524, allocations: 8 kB / 329.9 MB, free: 2.172 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.1529, allocations: 240.9 kB / 330.1 MB, free: 1.887 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.543e-05/0.153, allocations: 22.58 kB / 330.1 MB, free: 1.855 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/0.153, allocations: 20.84 kB / 330.1 MB, free: 1.832 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.153, allocations: 0 / 330.1 MB, free: 1.832 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.1533, allocations: 55.41 kB / 330.2 MB, free: 1.766 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1533, allocations: 0 / 330.2 MB, free: 1.766 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002383/0.1536, allocations: 57.62 kB / 330.3 MB, free: 1.703 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.1536, allocations: 55.41 kB / 330.3 MB, free: 1.637 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1538, allocations: 105.8 kB / 330.4 MB, free: 1.523 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1538, allocations: 25.7 kB / 330.4 MB, free: 1.492 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.1539, allocations: 84.14 kB / 330.5 MB, free: 1.406 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.1539, allocations: 3.906 kB / 330.5 MB, free: 1.402 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.1539, allocations: 29.7 kB / 330.6 MB, free: 1.367 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.1542, allocations: 310.8 kB / 330.9 MB, free: 1.055 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.808e-05/0.1542, allocations: 11.94 kB / 330.9 MB, free: 1.043 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.099e-05/0.1542, allocations: 21.7 kB / 330.9 MB, free: 1.016 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.795e-05/0.1543, allocations: 33.83 kB / 330.9 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1543, allocations: 3.938 kB / 330.9 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001088/0.1544, allocations: 69.47 kB / 331 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1545, allocations: 4 kB / 331 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1545, allocations: 0 / 331 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1545, allocations: 4 kB / 331 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.1546, allocations: 7.984 kB / 331 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1546, allocations: 0 / 331 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.1546, allocations: 4 kB / 331 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.1546, allocations: 0 / 331 MB, free: 0.8789 MB / 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.0001237/0.1548, allocations: 117.8 kB / 331.1 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.1548, allocations: 4.031 kB / 331.1 MB, free: 0.75 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.1548, allocations: 3.906 kB / 331.1 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.1548, allocations: 7.984 kB / 331.1 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1549, allocations: 0 / 331.1 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1549, allocations: 0 / 331.1 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.1552, allocations: 286.5 kB / 331.4 MB, free: 408 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1552, allocations: 0 / 331.4 MB, free: 408 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.1552, allocations: 4 kB / 331.4 MB, free: 404 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1552, allocations: 0 / 331.4 MB, free: 404 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1553, allocations: 4 kB / 331.4 MB, free: 400 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1553, allocations: 0 / 331.4 MB, free: 400 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1553, allocations: 0 / 331.4 MB, free: 400 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.1555, allocations: 155.8 kB / 331.6 MB, free: 228 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/0.1555, allocations: 81.05 kB / 331.7 MB, free: 128 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.1556, allocations: 4 kB / 331.7 MB, free: 124 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.1556, allocations: 4 kB / 331.7 MB, free: 120 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1557, allocations: 0 / 331.7 MB, free: 120 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.1557, allocations: 8 kB / 331.7 MB, free: 112 kB / 270.1 MB Notification: Performance of sorting global known variables: time 5.868e-05/0.1558, allocations: 87.27 kB / 331.8 MB, free: 24 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1558, allocations: 0 / 331.8 MB, free: 24 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.000333/0.1561, allocations: 24 kB / 331.8 MB, free: 0 / 270.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.0005311/0.1566, allocations: 191.6 kB / 332 MB, free: 15.81 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.1568, allocations: 19.98 kB / 332 MB, free: 15.79 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1568, allocations: 0 / 332 MB, free: 15.79 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.1568, allocations: 11.94 kB / 332 MB, free: 15.78 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.1571, allocations: 7.938 kB / 332 MB, free: 15.77 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.1575, allocations: 141 kB / 332.2 MB, free: 15.61 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.1579, allocations: 0.6809 MB / 332.8 MB, free: 14.9 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.1579, allocations: 7.438 kB / 332.8 MB, free: 14.89 MB / 286.1 MB Notification: Performance of SimCode: time 9.92e-07/0.158, allocations: 0 / 332.8 MB, free: 14.89 MB / 286.1 MB Notification: Performance of Templates: time 0.004514/0.1625, allocations: 1.152 MB / 334 MB, free: 13.74 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