Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 83.75 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.101/1.101, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.59e-05, allocations: 2.312 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.008549/0.008575, allocations: 1.531 MB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.009865, allocations: 0.5844 MB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.009928, allocations: 0 / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.01006, allocations: 7.875 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.583e-05/0.01015, allocations: 23.78 kB / 275.1 MB, free: 15.38 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0006861/0.01083, allocations: 163.3 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003205/0.01404, allocations: 115.6 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.307e-05/0.0141, allocations: 5.312 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.01422, allocations: 67.86 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005999/0.01482, allocations: 77.14 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.01486, allocations: 8 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.01527, allocations: 147.7 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.01534, allocations: 27.86 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.0154, allocations: 31.91 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.01579, allocations: 191.4 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01579, allocations: 0 / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01579, allocations: 0 / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.0158, allocations: 0 / 275.9 MB, free: 14.57 MB / 266.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.0007147/0.01651, allocations: 487.7 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.01656, allocations: 8.031 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.01687, allocations: 48.75 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.02007, allocations: 153.1 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.0201, allocations: 384 / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.02013, allocations: 20.36 kB / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.02032, allocations: 84.41 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.02033, allocations: 192 / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.02034, allocations: 8.125 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.02035, allocations: 0 / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.0204, allocations: 19.92 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.02096, allocations: 351.2 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.02112, allocations: 90.08 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.02116, allocations: 35.44 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.02117, allocations: 0 / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.02136, allocations: 124.5 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.02136, allocations: 7.938 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003515/0.02171, allocations: 137.6 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/0.02178, allocations: 97.03 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.02196, allocations: 237.8 kB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.02199, allocations: 41.69 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.02208, allocations: 155.3 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.02212, allocations: 39.7 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.0222, allocations: 71.58 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.0224, allocations: 0.5001 MB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.02247, allocations: 36.5 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.715e-05/0.02256, allocations: 76.84 kB / 278.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.0227, allocations: 123.5 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.0227, allocations: 0 / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002252/0.02292, allocations: 177.4 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.02294, allocations: 11.98 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.02295, allocations: 4.062 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.02297, allocations: 0 / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.02312, allocations: 43.92 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.02312, allocations: 0 / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.02317, allocations: 31.77 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.02318, allocations: 4 kB / 279.1 MB, free: 11.12 MB / 266.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 0.000128/0.02331, allocations: 184.5 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.02333, allocations: 19.84 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.02337, allocations: 21.45 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.02337, allocations: 0 / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.02338, allocations: 4 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.02339, allocations: 0 / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.02355, allocations: 148.5 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.02356, allocations: 0 / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/0.02359, allocations: 11.94 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.02359, allocations: 0 / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.0236, allocations: 0 / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.02361, allocations: 4 kB / 279.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.02361, allocations: 0 / 279.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.02382, allocations: 179.9 kB / 279.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.02384, allocations: 23.88 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.02388, allocations: 19.97 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-05/0.02391, allocations: 4 kB / 279.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.02397, allocations: 11.98 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.02398, allocations: 7.984 kB / 279.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.512e-05/0.02405, allocations: 156.2 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02405, allocations: 0 / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.02428, allocations: 43.94 kB / 279.9 MB, free: 10.23 MB / 266.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.0004956/0.02478, allocations: 227.8 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.02501, allocations: 108.2 kB / 280.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02501, allocations: 8.125 kB / 280.3 MB, free: 9.914 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.203e-05/0.02506, allocations: 35.67 kB / 280.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.02527, allocations: 15.92 kB / 280.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.02577, allocations: 245.8 kB / 280.6 MB, free: 9.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.518e-05/0.02582, allocations: 67.34 kB / 280.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.02587, allocations: 12.97 kB / 280.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.02591, allocations: 24.48 kB / 280.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of SimCode: time 1.173e-06/0.02592, allocations: 0 / 280.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of Templates: time 0.005303/0.03122, allocations: 2.217 MB / 282.9 MB, free: 7.262 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3061861232854426]