Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009339/0.0009339, allocations: 106.3 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009383/0.0009387, allocations: 43.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1887, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002314/0.1911, allocations: 1.566 MB / 375.4 MB, free: 44.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000976/0.192, allocations: 0.593 MB / 376 MB, free: 44.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.1921, allocations: 0 / 376 MB, free: 44.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.846e-05/0.1922, allocations: 5.125 kB / 376 MB, free: 44.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.1923, allocations: 13.06 kB / 376 MB, free: 44.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.1928, allocations: 127.7 kB / 376.1 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.784e-05/0.1929, allocations: 107 kB / 376.2 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.1929, allocations: 14.5 kB / 376.2 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.193, allocations: 37.42 kB / 376.3 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.193, allocations: 55.09 kB / 376.3 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.193, allocations: 5.688 kB / 376.3 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.1932, allocations: 119.5 kB / 376.4 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.1933, allocations: 31.8 kB / 376.5 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.1933, allocations: 64.47 kB / 376.5 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1936, allocations: 198.4 kB / 376.7 MB, free: 43.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1936, allocations: 1.094 kB / 376.7 MB, free: 43.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1936, allocations: 3.938 kB / 376.7 MB, free: 43.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1936, allocations: 0 / 376.7 MB, free: 43.64 MB / 298.7 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.000485/0.1941, allocations: 460.7 kB / 377.2 MB, free: 43.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1941, allocations: 10.56 kB / 377.2 MB, free: 43.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.1944, allocations: 42.16 kB / 377.2 MB, free: 43.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.1945, allocations: 196.7 kB / 377.4 MB, free: 42.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1945, allocations: 10.53 kB / 377.4 MB, free: 42.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1946, allocations: 9.75 kB / 377.5 MB, free: 42.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1948, allocations: 108.2 kB / 377.6 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1948, allocations: 5.281 kB / 377.6 MB, free: 42.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1948, allocations: 11.91 kB / 377.6 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1948, allocations: 1.469 kB / 377.6 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.195, allocations: 57.44 kB / 377.6 MB, free: 42.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.1955, allocations: 382.1 kB / 378 MB, free: 42.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1957, allocations: 127.7 kB / 378.1 MB, free: 42.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.205e-05/0.1958, allocations: 55.05 kB / 378.2 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.1959, allocations: 1 kB / 378.2 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.1961, allocations: 142.1 kB / 378.3 MB, free: 42.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1961, allocations: 0 / 378.3 MB, free: 42.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.000442/0.1965, allocations: 232.1 kB / 378.6 MB, free: 42.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.1966, allocations: 96.56 kB / 378.6 MB, free: 41.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1967, allocations: 175.5 kB / 378.8 MB, free: 41.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.1968, allocations: 49.03 kB / 378.9 MB, free: 41.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.1968, allocations: 106 kB / 379 MB, free: 41.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.1969, allocations: 38.67 kB / 379 MB, free: 41.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.1969, allocations: 63.16 kB / 379.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.385e-05/0.197, allocations: 327.5 kB / 379.4 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.1972, allocations: 101.6 kB / 379.5 MB, free: 41.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.1973, allocations: 134.7 kB / 379.6 MB, free: 41.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.1976, allocations: 208.8 kB / 379.8 MB, free: 41.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1976, allocations: 1.094 kB / 379.8 MB, free: 41.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004137/0.1981, allocations: 300 kB / 380.1 MB, free: 40.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1981, allocations: 5.469 kB / 380.1 MB, free: 40.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1981, allocations: 1.281 kB / 380.1 MB, free: 40.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1981, allocations: 1.062 kB / 380.1 MB, free: 40.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1983, allocations: 36.56 kB / 380.2 MB, free: 40.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1983, allocations: 2.812 kB / 380.2 MB, free: 40.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.1983, allocations: 17.06 kB / 380.2 MB, free: 40.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.1984, allocations: 10.75 kB / 380.2 MB, free: 40.89 MB / 298.7 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 9.098e-05/0.1985, allocations: 151.2 kB / 380.3 MB, free: 40.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1985, allocations: 13.69 kB / 380.4 MB, free: 40.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.1985, allocations: 21.14 kB / 380.4 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1985, allocations: 5.578 kB / 380.4 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1985, allocations: 0 / 380.4 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1985, allocations: 1.406 kB / 380.4 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.1987, allocations: 214.7 kB / 380.6 MB, free: 40.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1987, allocations: 0 / 380.6 MB, free: 40.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.1987, allocations: 10.36 kB / 380.6 MB, free: 40.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1987, allocations: 4.938 kB / 380.6 MB, free: 40.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1988, allocations: 1.469 kB / 380.6 MB, free: 40.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1988, allocations: 5.719 kB / 380.6 MB, free: 40.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1988, allocations: 3.938 kB / 380.6 MB, free: 40.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.1993, allocations: 0.8295 MB / 381.4 MB, free: 39.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.1993, allocations: 96.97 kB / 381.5 MB, free: 39.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.1993, allocations: 10.78 kB / 381.6 MB, free: 39.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.1994, allocations: 3.406 kB / 381.6 MB, free: 39.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1995, allocations: 17.72 kB / 381.6 MB, free: 39.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.1995, allocations: 3.375 kB / 381.6 MB, free: 39.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.82e-05/0.1995, allocations: 128.5 kB / 381.7 MB, free: 39.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1995, allocations: 0 / 381.7 MB, free: 39.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003744/0.1999, allocations: 58.23 kB / 381.8 MB, free: 39.47 MB / 298.7 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.0003709/0.2003, allocations: 228.8 kB / 382 MB, free: 39.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.2007, allocations: 185.4 kB / 382.2 MB, free: 39.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2007, allocations: 0 / 382.2 MB, free: 39.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.2008, allocations: 66.55 kB / 382.2 MB, free: 39.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.201, allocations: 7.969 kB / 382.2 MB, free: 39.22 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.2014, allocations: 445.5 kB / 382.7 MB, free: 38.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.2015, allocations: 0.7171 MB / 383.4 MB, free: 38.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.98e-05/0.2016, allocations: 19.53 kB / 383.4 MB, free: 38.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.2017, allocations: 13.69 kB / 383.4 MB, free: 38.1 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2017, allocations: 0 / 383.4 MB, free: 38.1 MB / 298.7 MB Notification: Performance of Templates: time 0.00415/0.2058, allocations: 2.074 MB / 385.5 MB, free: 37.04 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches