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.0009788/0.0009788, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001079/0.001079, allocations: 171.8 kB / 24.82 MB, free: 9.273 MB / 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.504 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 1.863e-06/1.863e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.649e-05, allocations: 6.25 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002042/0.002059, allocations: 1.514 MB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009148/0.002973, allocations: 0.5767 MB / 275.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.003027, allocations: 0 / 275.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.331e-05/0.003121, allocations: 7.875 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.798e-05/0.003189, allocations: 19.73 kB / 275.5 MB, free: 15.16 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.0005507/0.003739, allocations: 163.4 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.003861, allocations: 115.6 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.003897, allocations: 5.312 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.003973, allocations: 67.86 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.004326, allocations: 91.61 kB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.00435, allocations: 8 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.004563, allocations: 147.7 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.004603, allocations: 23.91 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.004639, allocations: 35.86 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.004894, allocations: 183.4 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004896, allocations: 4 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004897, allocations: 0 / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.004901, allocations: 3.938 kB / 276.4 MB, free: 14.35 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.0004866/0.005388, allocations: 479.7 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.005427, allocations: 12.02 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.005629, allocations: 44.77 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.005735, allocations: 157.1 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.00575, allocations: 384 / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.005764, allocations: 12.36 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.005886, allocations: 89.52 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.005892, allocations: 192 / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.005902, allocations: 4.125 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.005907, allocations: 0 / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.347e-05/0.00594, allocations: 19.92 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.006316, allocations: 324 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.637e-05/0.006412, allocations: 78.11 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.006439, allocations: 27.44 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.006449, allocations: 11.98 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.006574, allocations: 120.2 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.006575, allocations: 0 / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002094/0.006784, allocations: 137.6 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.006827, allocations: 93.03 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.006938, allocations: 233.8 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.006965, allocations: 45.69 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.00724, allocations: 155.3 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.007274, allocations: 43.67 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.007336, allocations: 63.56 kB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.007467, allocations: 0.5079 MB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.007509, allocations: 24.5 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.945e-05/0.007568, allocations: 72.83 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.007671, allocations: 115.4 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.007672, allocations: 0 / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000166/0.007838, allocations: 169.4 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.007849, allocations: 4 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.007856, allocations: 0 / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.007866, allocations: 8.062 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.007972, allocations: 39.92 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.007976, allocations: 0 / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.008013, allocations: 23.84 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.008025, allocations: 11.98 kB / 279.4 MB, free: 11 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,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,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.000136/0.008161, allocations: 180.6 kB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.00818, allocations: 19.84 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.008208, allocations: 17.45 kB / 279.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.00821, allocations: 4 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.008211, allocations: 0 / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.008215, allocations: 0 / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.008315, allocations: 129.1 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.008318, allocations: 4 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.887e-05/0.008337, allocations: 4 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.008339, allocations: 0 / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.00835, allocations: 11.92 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.008352, allocations: 4 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.008353, allocations: 0 / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.008509, allocations: 171.9 kB / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.008526, allocations: 23.78 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.008547, allocations: 15.92 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.008569, allocations: 4 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.008607, allocations: 11.97 kB / 280 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.008615, allocations: 4 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.985e-05/0.008675, allocations: 156.1 kB / 280.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008675, allocations: 0 / 280.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.008859, allocations: 47.92 kB / 280.2 MB, free: 10.14 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.000297/0.009156, allocations: 210.7 kB / 280.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.009293, allocations: 100.1 kB / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.009294, allocations: 0 / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.009333, allocations: 43.78 kB / 280.6 MB, free: 9.816 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.00949, allocations: 15.94 kB / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.009823, allocations: 241.8 kB / 280.8 MB, free: 9.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.217e-05/0.009865, allocations: 63.34 kB / 280.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.535e-05/0.009911, allocations: 20.95 kB / 280.9 MB, free: 9.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.009976, allocations: 82.2 kB / 281 MB, free: 9.348 MB / 266.7 MB Notification: Performance of SimCode: time 6.12e-07/0.009977, allocations: 0 / 281 MB, free: 9.348 MB / 266.7 MB Notification: Performance of Templates: time 0.003943/0.01392, allocations: 2.444 MB / 283.4 MB, free: 6.922 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: 2.835719482973218]