Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 187 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 43.92 kB / 371.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2701, allocations: 52.19 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002801/0.2729, allocations: 1.473 MB / 425.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2741, allocations: 0.5676 MB / 425.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.2741, allocations: 0 / 425.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.598e-05/0.2742, allocations: 15.81 kB / 425.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/0.2743, allocations: 15.86 kB / 425.9 MB, free: 12.42 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.0005659/0.2749, allocations: 155.5 kB / 426 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.275, allocations: 111.7 kB / 426.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.2751, allocations: 9.297 kB / 426.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.742e-05/0.2752, allocations: 55.83 kB / 426.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00059/0.2757, allocations: 70.34 kB / 426.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.2758, allocations: 8 kB / 426.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.2761, allocations: 143.7 kB / 426.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.2761, allocations: 31.91 kB / 426.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.2762, allocations: 51.66 kB / 426.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.2765, allocations: 194.2 kB / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2765, allocations: 0 / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2765, allocations: 0 / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.2765, allocations: 0 / 426.7 MB, free: 11.62 MB / 334.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.0006714/0.2772, allocations: 385.4 kB / 427.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2772, allocations: 8.031 kB / 427.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.2776, allocations: 40.75 kB / 427.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.2777, allocations: 146.3 kB / 427.3 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.2778, allocations: 8.062 kB / 427.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.2778, allocations: 12 kB / 427.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.278, allocations: 110.7 kB / 427.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.278, allocations: 0 / 427.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2781, allocations: 3.984 kB / 427.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2781, allocations: 4 kB / 427.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.2783, allocations: 59.91 kB / 427.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.2789, allocations: 301.1 kB / 427.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.2792, allocations: 125.2 kB / 427.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.2793, allocations: 49.69 kB / 427.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.2794, allocations: 4 kB / 427.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.2796, allocations: 133.1 kB / 428.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.2796, allocations: 0 / 428.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005657/0.2802, allocations: 237.6 kB / 428.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.2803, allocations: 93.09 kB / 428.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.2805, allocations: 178.2 kB / 428.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.2805, allocations: 49.69 kB / 428.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.2806, allocations: 104.5 kB / 428.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.2807, allocations: 43.72 kB / 428.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/0.2808, allocations: 53.92 kB / 428.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.2809, allocations: 330.8 kB / 429.1 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.2811, allocations: 104.4 kB / 429.2 MB, free: 8.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.2814, allocations: 136.3 kB / 429.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.2817, allocations: 206.9 kB / 429.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2817, allocations: 0 / 429.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005297/0.2823, allocations: 293.9 kB / 429.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2823, allocations: 8 kB / 429.9 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2823, allocations: 3.938 kB / 429.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2823, allocations: 7.938 kB / 429.9 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2825, allocations: 27.98 kB / 429.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2825, allocations: 4.062 kB / 429.9 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.2826, allocations: 23.81 kB / 429.9 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.2826, allocations: 8 kB / 429.9 MB, free: 8.156 MB / 334.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.00015/0.2827, allocations: 145.8 kB / 430.1 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.2827, allocations: 15.91 kB / 430.1 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.2828, allocations: 17.39 kB / 430.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2828, allocations: 0 / 430.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2828, allocations: 0 / 430.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2828, allocations: 7.938 kB / 430.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.283, allocations: 145.2 kB / 430.3 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.283, allocations: 0 / 430.3 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.283, allocations: 11.98 kB / 430.3 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.283, allocations: 0 / 430.3 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.283, allocations: 11.94 kB / 430.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/0.283, allocations: 0 / 430.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2831, allocations: 0 / 430.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.2834, allocations: 221.7 kB / 430.5 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.2835, allocations: 23.83 kB / 430.5 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.2835, allocations: 8 kB / 430.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.906e-05/0.2836, allocations: 7.984 kB / 430.5 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.2836, allocations: 15.98 kB / 430.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.2836, allocations: 4 kB / 430.6 MB, free: 7.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.2838, allocations: 136.2 kB / 430.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2838, allocations: 0 / 430.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.284, allocations: 51.92 kB / 430.7 MB, free: 7.285 MB / 334.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.0004687/0.2845, allocations: 203.2 kB / 430.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004223/0.2849, allocations: 171.8 kB / 431.1 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2849, allocations: 4.125 kB / 431.1 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.2851, allocations: 55.91 kB / 431.2 MB, free: 6.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.2852, allocations: 4 kB / 431.2 MB, free: 6.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000529/0.2858, allocations: 285.5 kB / 431.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.95e-05/0.2859, allocations: 93.77 kB / 431.5 MB, free: 6.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.2859, allocations: 15.44 kB / 431.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2859, allocations: 4 kB / 431.6 MB, free: 6.43 MB / 334.1 MB Notification: Performance of Templates: time 0.004782/0.2907, allocations: 2.346 MB / 433.9 MB, free: 4.082 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.6699012271128595]