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.001361/0.001361, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001787/0.001787, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 66.62 kB / 306.9 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1326, allocations: 50.54 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003523/0.1362, allocations: 1.472 MB / 358.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.138, allocations: 0.5785 MB / 359.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1383, allocations: 7.938 kB / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1384, allocations: 11.86 kB / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1385, allocations: 19.81 kB / 359.6 MB, free: 11.98 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.001018/0.1395, allocations: 139.6 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.1398, allocations: 115.6 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1399, allocations: 5.125 kB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1401, allocations: 51.83 kB / 359.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008255/0.1409, allocations: 77.59 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.311e-05/0.141, allocations: 12 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003568/0.1413, allocations: 115.8 kB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.484e-05/0.1414, allocations: 31.91 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1416, allocations: 51.67 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004962/0.1421, allocations: 191.8 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1421, allocations: 4 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.1421, allocations: 0 / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.1421, allocations: 0 / 360.3 MB, free: 11.2 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.0008339/0.1429, allocations: 458.7 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.143, allocations: 12.03 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003861/0.1434, allocations: 40.75 kB / 360.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1436, allocations: 196.1 kB / 361 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.1436, allocations: 4.359 kB / 361 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1436, allocations: 12.38 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.1439, allocations: 115.5 kB / 361.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1439, allocations: 0 / 361.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1439, allocations: 7.938 kB / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1439, allocations: 0 / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.1441, allocations: 59.95 kB / 361.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007488/0.1449, allocations: 365.5 kB / 361.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.1452, allocations: 129.1 kB / 361.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.1454, allocations: 57.77 kB / 361.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.1454, allocations: 4 kB / 361.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.1457, allocations: 143.5 kB / 361.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.1457, allocations: 0 / 361.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005915/0.1463, allocations: 233.5 kB / 362.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1464, allocations: 97.09 kB / 362.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.1466, allocations: 182.2 kB / 362.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/0.1467, allocations: 49.69 kB / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.1468, allocations: 104.5 kB / 362.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.1469, allocations: 47.39 kB / 362.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.147, allocations: 53.92 kB / 362.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1471, allocations: 334.8 kB / 363 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.1473, allocations: 100.5 kB / 363.1 MB, free: 8.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1476, allocations: 128.4 kB / 363.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.1479, allocations: 214.8 kB / 363.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1479, allocations: 0 / 363.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000487/0.1484, allocations: 285.3 kB / 363.7 MB, free: 7.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1484, allocations: 8 kB / 363.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1485, allocations: 0 / 363.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1485, allocations: 0 / 363.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1486, allocations: 27.92 kB / 363.7 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1487, allocations: 4 kB / 363.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.1488, allocations: 27.81 kB / 363.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.1488, allocations: 8 kB / 363.8 MB, free: 7.48 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.0001408/0.1489, allocations: 154.8 kB / 363.9 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.149, allocations: 15.81 kB / 363.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.149, allocations: 13.41 kB / 363.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.149, allocations: 0 / 363.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.149, allocations: 0 / 363.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.149, allocations: 0 / 363.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.1493, allocations: 221.4 kB / 364.2 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1493, allocations: 4 kB / 364.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.1493, allocations: 4 kB / 364.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1493, allocations: 4 kB / 364.2 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1494, allocations: 3.984 kB / 364.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1494, allocations: 4 kB / 364.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1494, allocations: 0 / 364.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.1497, allocations: 225.6 kB / 364.4 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.1498, allocations: 88.92 kB / 364.5 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.1498, allocations: 12.09 kB / 364.5 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.1499, allocations: 7.984 kB / 364.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.15, allocations: 11.97 kB / 364.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/0.15, allocations: 4 kB / 364.5 MB, free: 6.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1501, allocations: 128.2 kB / 364.7 MB, free: 6.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1501, allocations: 0 / 364.7 MB, free: 6.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.1504, allocations: 47.98 kB / 364.7 MB, free: 6.453 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.00047/0.1509, allocations: 205 kB / 364.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004402/0.1514, allocations: 207.8 kB / 365.1 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1514, allocations: 0 / 365.1 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1515, allocations: 59.97 kB / 365.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.1517, allocations: 8 kB / 365.2 MB, free: 6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.1523, allocations: 259.8 kB / 365.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1526, allocations: 0.7119 MB / 366.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.809e-05/0.1526, allocations: 16.88 kB / 366.1 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.1527, allocations: 11.44 kB / 366.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1527, allocations: 0 / 366.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of Templates: time 0.0057/0.1584, allocations: 1.954 MB / 368.1 MB, free: 2.996 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches