Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.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.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 66.48 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1152, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003145/0.1184, allocations: 1.488 MB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1196, allocations: 0.5746 MB / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.1197, allocations: 0 / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.1198, allocations: 7.875 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.1199, allocations: 19.81 kB / 361 MB, free: 11.23 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.1206, allocations: 143.6 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.1209, allocations: 111.6 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.29e-05/0.1209, allocations: 13.09 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.785e-05/0.121, allocations: 51.78 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006511/0.1217, allocations: 77.88 kB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.979e-05/0.1218, allocations: 8 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.122, allocations: 111.8 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.1221, allocations: 35.89 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.752e-05/0.1222, allocations: 55.66 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.1225, allocations: 195.5 kB / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1225, allocations: 0 / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1226, allocations: 0 / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1226, allocations: 3.938 kB / 361.8 MB, free: 10.45 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007721/0.1233, allocations: 458.7 kB / 362.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1234, allocations: 8.031 kB / 362.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.1237, allocations: 36.81 kB / 362.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1239, allocations: 200 kB / 362.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.124, allocations: 8.375 kB / 362.5 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.124, allocations: 4.375 kB / 362.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.1243, allocations: 126.8 kB / 362.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1243, allocations: 0 / 362.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1243, allocations: 0 / 362.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1243, allocations: 4 kB / 362.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.1245, allocations: 55.95 kB / 362.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.1251, allocations: 369.4 kB / 363 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.1255, allocations: 129.2 kB / 363.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1256, allocations: 53.69 kB / 363.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1256, allocations: 4 kB / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.1259, allocations: 149.1 kB / 363.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.1259, allocations: 0 / 363.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005655/0.1265, allocations: 233.5 kB / 363.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.1265, allocations: 93.09 kB / 363.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1267, allocations: 174.3 kB / 363.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.1268, allocations: 53.67 kB / 363.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.1269, allocations: 100.6 kB / 364 MB, free: 8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.517e-05/0.127, allocations: 47.39 kB / 364 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1271, allocations: 57.92 kB / 364.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1272, allocations: 330.8 kB / 364.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.1274, allocations: 100.5 kB / 364.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.1276, allocations: 132.4 kB / 364.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.128, allocations: 214.8 kB / 364.9 MB, free: 7.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.128, allocations: 8 kB / 364.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004931/0.1285, allocations: 289.3 kB / 365.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1286, allocations: 4 kB / 365.2 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.1286, allocations: 0 / 365.2 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.1286, allocations: 7.938 kB / 365.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1288, allocations: 31.92 kB / 365.2 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1288, allocations: 0 / 365.2 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.731e-05/0.1289, allocations: 19.84 kB / 365.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.1289, allocations: 15.98 kB / 365.2 MB, free: 6.719 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001742/0.1291, allocations: 154.7 kB / 365.4 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.1291, allocations: 11.81 kB / 365.4 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.1292, allocations: 13.41 kB / 365.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1292, allocations: 0 / 365.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1292, allocations: 0 / 365.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1292, allocations: 0 / 365.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.1294, allocations: 221.4 kB / 365.6 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1295, allocations: 0 / 365.6 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.1295, allocations: 8 kB / 365.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1295, allocations: 0 / 365.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1295, allocations: 0 / 365.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.1295, allocations: 3.984 kB / 365.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1296, allocations: 4 kB / 365.6 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.1299, allocations: 221.7 kB / 365.8 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.13, allocations: 92.91 kB / 365.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.13, allocations: 12 kB / 366 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.1301, allocations: 7.984 kB / 366 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.1302, allocations: 7.984 kB / 366 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1302, allocations: 8 kB / 366 MB, free: 5.871 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1303, allocations: 128.2 kB / 366.1 MB, free: 5.746 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1303, allocations: 0 / 366.1 MB, free: 5.746 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.1307, allocations: 47.97 kB / 366.1 MB, free: 5.699 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004545/0.1311, allocations: 210.7 kB / 366.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.1315, allocations: 195.8 kB / 366.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1315, allocations: 0 / 366.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1317, allocations: 64 kB / 366.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.1319, allocations: 4 kB / 366.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.1324, allocations: 263.9 kB / 366.9 MB, free: 4.965 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1327, allocations: 0.7158 MB / 367.6 MB, free: 4.223 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.945e-05/0.1327, allocations: 12.88 kB / 367.6 MB, free: 4.207 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.1328, allocations: 15.44 kB / 367.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1328, allocations: 0 / 367.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of Templates: time 0.005303/0.1381, allocations: 1.958 MB / 369.6 MB, free: 2.234 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches