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.0011/0.0011, allocations: 96.67 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 199.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000244/0.0002444, allocations: 8 kB / 306.6 MB, free: 1.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1313, allocations: 51.5 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001937/0.1333, allocations: 1.215 MB / 359.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1345, allocations: 0.5732 MB / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.1346, allocations: 0 / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.863e-05/0.1347, allocations: 3.938 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.1348, allocations: 23.89 kB / 359.9 MB, free: 12.1 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.0005344/0.1353, allocations: 107.7 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.1354, allocations: 67.86 kB / 360.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.153e-05/0.1355, allocations: 12.86 kB / 360.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.1356, allocations: 43.83 kB / 360.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1358, allocations: 59.75 kB / 360.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1358, allocations: 7.938 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.136, allocations: 79.88 kB / 360.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.136, allocations: 19.91 kB / 360.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.1361, allocations: 45.64 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.1364, allocations: 132 kB / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1364, allocations: 4 kB / 360.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1364, allocations: 0 / 360.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1364, allocations: 0 / 360.4 MB, free: 11.52 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.0007297/0.1371, allocations: 442.7 kB / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1372, allocations: 12.03 kB / 360.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.1375, allocations: 35.88 kB / 360.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1377, allocations: 190.8 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.1378, allocations: 7.938 kB / 361.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1378, allocations: 11.94 kB / 361.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.1381, allocations: 119.3 kB / 361.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1381, allocations: 0 / 361.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1382, allocations: 3.984 kB / 361.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1382, allocations: 0 / 361.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.1383, allocations: 59.97 kB / 361.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007179/0.1391, allocations: 385.4 kB / 361.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.1394, allocations: 137.1 kB / 361.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.1394, allocations: 4.062 kB / 361.8 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.1397, allocations: 149.1 kB / 362 MB, free: 9.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.1397, allocations: 0 / 362 MB, free: 9.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.000673/0.1404, allocations: 416.2 kB / 362.4 MB, free: 9.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.218e-05/0.1405, allocations: 89.09 kB / 362.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1407, allocations: 170.3 kB / 362.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.1408, allocations: 49.69 kB / 362.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.1408, allocations: 104.6 kB / 362.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.1409, allocations: 51.38 kB / 362.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.1409, allocations: 4 kB / 362.8 MB, free: 8.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003141/0.1412, allocations: 330.8 kB / 363.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.1414, allocations: 100.5 kB / 363.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.1417, allocations: 136.3 kB / 363.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.1419, allocations: 115.9 kB / 363.5 MB, free: 8.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1419, allocations: 0 / 363.5 MB, free: 8.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005147/0.1424, allocations: 301.8 kB / 363.8 MB, free: 7.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1425, allocations: 4 kB / 363.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1425, allocations: 4 kB / 363.8 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1425, allocations: 0 / 363.8 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1427, allocations: 35.92 kB / 363.8 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1427, allocations: 0 / 363.8 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.1428, allocations: 15.91 kB / 363.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.1428, allocations: 11.98 kB / 363.9 MB, free: 7.801 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,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.1429, allocations: 154.5 kB / 364 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.143, allocations: 19.75 kB / 364 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.143, allocations: 13.41 kB / 364.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.143, allocations: 0 / 364.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.143, allocations: 4 kB / 364.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.143, allocations: 0 / 364.1 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.1433, allocations: 209.5 kB / 364.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1433, allocations: 4 kB / 364.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.1433, allocations: 12 kB / 364.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.1433, allocations: 7.953 kB / 364.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1434, allocations: 0 / 364.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1434, allocations: 3.984 kB / 364.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1434, allocations: 0 / 364.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.1437, allocations: 239.4 kB / 364.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.1438, allocations: 96.86 kB / 364.6 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.1438, allocations: 8 kB / 364.6 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.1439, allocations: 7.984 kB / 364.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.144, allocations: 15.98 kB / 364.6 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.144, allocations: 7.938 kB / 364.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.869e-05/0.1441, allocations: 124.2 kB / 364.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1441, allocations: 0 / 364.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.1444, allocations: 51.98 kB / 364.8 MB, free: 6.738 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 (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.0004749/0.1449, allocations: 203.3 kB / 365 MB, free: 6.559 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004604/0.1454, allocations: 192.9 kB / 365.2 MB, free: 6.371 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1454, allocations: 4.125 kB / 365.2 MB, free: 6.367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.1456, allocations: 63.91 kB / 365.3 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.1457, allocations: 8 kB / 365.3 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.1462, allocations: 275 kB / 365.6 MB, free: 5.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1465, allocations: 0.716 MB / 366.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.845e-05/0.1466, allocations: 20.94 kB / 366.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.1466, allocations: 15.44 kB / 366.3 MB, free: 5.215 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1466, allocations: 0 / 366.3 MB, free: 5.215 MB / 302.1 MB Notification: Performance of Templates: time 0.004737/0.1514, allocations: 1.786 MB / 368.1 MB, free: 3.43 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","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches