Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009567/0.0009563, allocations: 97.22 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 197.9 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 45.91 MB / 344.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003083, allocations: 11.94 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1553, allocations: 63.46 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0006702/0.1561, allocations: 223 kB / 482.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1587, allocations: 1.926 MB / 484.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.579e-05/0.1588, allocations: 0 / 484.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.1588, allocations: 0 / 484.3 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.674e-06/0.1588, allocations: 0 / 484.3 MB, free: 3.246 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:928:5-1011:16:writable] Warning: Pure function ‘ModelicaTest.Math.Random.special‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.16, allocations: 418.7 kB / 484.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.066e-05/0.1601, allocations: 7.984 kB / 484.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.1601, allocations: 3.938 kB / 484.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.1601, allocations: 3.938 kB / 484.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.341e-05/0.1602, allocations: 4 kB / 484.7 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.1602, allocations: 0 / 484.7 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.1612, allocations: 0.6707 MB / 485.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.1612, allocations: 0 / 485.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.1613, allocations: 25.7 kB / 485.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.1617, allocations: 243.6 kB / 485.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1617, allocations: 0 / 485.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1617, allocations: 0 / 485.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1617, allocations: 3.938 kB / 485.6 MB, free: 1.875 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004777/0.1622, allocations: 409 kB / 486 MB, free: 1.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1622, allocations: 16.03 kB / 486 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.1623, allocations: 0 / 486 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1624, allocations: 167 kB / 486.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1624, allocations: 0 / 486.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.1625, allocations: 0 / 486.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.576e-05/0.1626, allocations: 29.7 kB / 486.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1626, allocations: 0 / 486.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1626, allocations: 0 / 486.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.1626, allocations: 3.938 kB / 486.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.1626, allocations: 4 kB / 486.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.1628, allocations: 161.6 kB / 486.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.079e-05/0.1628, allocations: 14.58 kB / 486.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.1628, allocations: 8.953 kB / 486.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-06/0.1629, allocations: 0 / 486.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.1629, allocations: 60.25 kB / 486.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1629, allocations: 0 / 486.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002013/0.1631, allocations: 75.33 kB / 486.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.1632, allocations: 77.11 kB / 486.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.173e-05/0.1633, allocations: 89.86 kB / 486.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1633, allocations: 29.7 kB / 486.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.1633, allocations: 80.14 kB / 486.8 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.1633, allocations: 0 / 486.8 MB, free: 460 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.1634, allocations: 0 / 486.8 MB, free: 460 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1635, allocations: 310.8 kB / 487.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.1635, allocations: 0 / 487.1 MB, free: 140 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-06/0.1635, allocations: 12.12 kB / 487.1 MB, free: 128 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.1636, allocations: 25.7 kB / 487.2 MB, free: 96 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1636, allocations: 3.953 kB / 487.2 MB, free: 92 kB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.629e-05/0.1637, allocations: 75.27 kB / 487.2 MB, free: 4 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.107e-05/0.1637, allocations: 29.7 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1637, allocations: 0 / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1637, allocations: 0 / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.113e-06/0.1638, allocations: 4 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1638, allocations: 0 / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.1638, allocations: 4.094 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.1638, allocations: 0 / 487.3 MB, free: 15.96 MB / 366.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.762e-05/0.1639, allocations: 139.5 kB / 487.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.1639, allocations: 7.953 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.107e-05/0.1639, allocations: 3.125 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1639, allocations: 0 / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.164, allocations: 3.938 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.164, allocations: 0 / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.1641, allocations: 149.7 kB / 487.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1641, allocations: 4 kB / 487.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-06/0.1641, allocations: 3.953 kB / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.1641, allocations: 0 / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1641, allocations: 0 / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1641, allocations: 0 / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1641, allocations: 0 / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.1642, allocations: 98.67 kB / 487.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.1643, allocations: 77.39 kB / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.1643, allocations: 11.98 kB / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-06/0.1643, allocations: 0 / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.1643, allocations: 0 / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.1643, allocations: 0 / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.178e-05/0.1644, allocations: 75.28 kB / 487.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1644, allocations: 0 / 487.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.1648, allocations: 135.9 kB / 488 MB, free: 15.16 MB / 366.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008092/0.1656, allocations: 305.4 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.1657, allocations: 59.39 kB / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1657, allocations: 8 kB / 488.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.432e-05/0.1658, allocations: 55.41 kB / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.1659, allocations: 8.062 kB / 488.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001903/0.1661, allocations: 100.5 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1664, allocations: 0.677 MB / 489.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.158e-05/0.1664, allocations: 7.438 kB / 489.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1664, allocations: 0 / 489.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Templates: time 0.006062/0.1725, allocations: 3.405 MB / 492.6 MB, free: 10.45 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.o] Error 1