Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007819/0.0007819, allocations: 85.77 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008484/0.0008483, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002257/0.0002257, allocations: 4 kB / 307.3 MB, free: 1.375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1151, allocations: 51.49 MB / 358.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001258/0.1164, allocations: 0.5829 MB / 359.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005482/0.117, allocations: 247.2 kB / 359.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.1171, allocations: 0 / 359.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.1171, allocations: 3.938 kB / 359.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.1173, allocations: 4 kB / 359.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.1177, allocations: 95.78 kB / 359.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.1178, allocations: 35.92 kB / 359.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.1179, allocations: 11.97 kB / 359.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.612e-05/0.118, allocations: 19.88 kB / 359.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.118, allocations: 15.91 kB / 359.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.118, allocations: 4 kB / 359.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.1181, allocations: 31.97 kB / 359.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.1182, allocations: 27.91 kB / 359.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1182, allocations: 37.64 kB / 359.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1184, allocations: 55.89 kB / 360 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1184, allocations: 7.922 kB / 360 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1184, allocations: 0 / 360 MB, free: 12.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1184, allocations: 0 / 360 MB, free: 12.71 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004584/0.1188, allocations: 367.3 kB / 360.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1189, allocations: 12.03 kB / 360.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.1189, allocations: 7.906 kB / 360.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1192, allocations: 201.5 kB / 360.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1192, allocations: 7.953 kB / 360.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.1192, allocations: 4 kB / 360.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.1195, allocations: 149 kB / 360.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1195, allocations: 0 / 360.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1195, allocations: 4 kB / 360.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.1195, allocations: 7.984 kB / 360.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.618e-05/0.1196, allocations: 19.94 kB / 360.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.1199, allocations: 277.7 kB / 361 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.12, allocations: 42.52 kB / 361 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/0.12, allocations: 32.89 kB / 361.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006211/0.1207, allocations: 0.5778 MB / 361.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1207, allocations: 30.56 kB / 361.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1207, allocations: 0 / 361.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001934/0.1209, allocations: 81.59 kB / 361.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.121, allocations: 63.39 kB / 361.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1211, allocations: 150.3 kB / 362 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1211, allocations: 25.7 kB / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.1212, allocations: 92.31 kB / 362.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.1212, allocations: 15.78 kB / 362.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.1212, allocations: 0 / 362.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1213, allocations: 326.8 kB / 362.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.1214, allocations: 19.98 kB / 362.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.228e-05/0.1214, allocations: 62 kB / 362.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.1215, allocations: 27.98 kB / 362.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1215, allocations: 0 / 362.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000143/0.1216, allocations: 113.4 kB / 362.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1217, allocations: 4 kB / 362.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1217, allocations: 7.984 kB / 362.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1217, allocations: 8 kB / 362.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.1218, allocations: 12.05 kB / 362.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1218, allocations: 4 kB / 362.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.1218, allocations: 7.984 kB / 362.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1218, allocations: 8.156 kB / 362.7 MB, free: 9.602 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001034/0.122, allocations: 149 kB / 362.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/0.1221, allocations: 69.59 kB / 362.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.1222, allocations: 94.52 kB / 363 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1222, allocations: 0 / 363 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1222, allocations: 0 / 363 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1222, allocations: 0 / 363 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1223, allocations: 177.6 kB / 363.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1224, allocations: 4 kB / 363.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.1224, allocations: 4 kB / 363.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1224, allocations: 3.938 kB / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1224, allocations: 0 / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1224, allocations: 4 kB / 363.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1224, allocations: 0 / 363.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1225, allocations: 100.9 kB / 363.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.1226, allocations: 97 kB / 363.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.1226, allocations: 4 kB / 363.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.1227, allocations: 4 kB / 363.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-06/0.1227, allocations: 0 / 363.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.1227, allocations: 0 / 363.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.594e-05/0.1228, allocations: 119.2 kB / 363.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1228, allocations: 0 / 363.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.123, allocations: 20 kB / 363.5 MB, free: 8.668 MB / 302.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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001536/0.1232, allocations: 107.2 kB / 363.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.1233, allocations: 47.92 kB / 363.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1233, allocations: 0 / 363.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.1233, allocations: 0 / 363.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1236, allocations: 85.38 kB / 363.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.124, allocations: 225.2 kB / 364 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1242, allocations: 0.7043 MB / 364.7 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.1243, allocations: 15.38 kB / 364.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1243, allocations: 0 / 364.7 MB, free: 7.418 MB / 302.1 MB Notification: Performance of Templates: time 0.002861/0.1271, allocations: 1.236 MB / 365.9 MB, free: 6.188 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseCalcHelperMain.o] Error 1