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.001088/0.001088, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009717/0.0009717, allocations: 168.4 kB / 25.61 MB, free: 8.922 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 0.9327/0.9327, allocations: 177.2 MB / 206.1 MB, free: 4.461 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.383e-06/1.383e-06, allocations: 0 / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.478e-05, allocations: 10.83 kB / 274.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00202/0.002045, allocations: 1.513 MB / 275.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009967/0.003042, allocations: 0.5778 MB / 276.3 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.003096, allocations: 4 kB / 276.3 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.003201, allocations: 11.86 kB / 276.3 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.05e-05/0.003272, allocations: 16.69 kB / 276.3 MB, free: 2.277 MB / 250.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.0005062/0.003778, allocations: 163.4 kB / 276.5 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.00393, allocations: 116.1 kB / 276.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.003977, allocations: 6.094 kB / 276.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.004055, allocations: 63.88 kB / 276.7 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.004459, allocations: 76.8 kB / 276.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.004485, allocations: 13.94 kB / 276.8 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.004724, allocations: 143.7 kB / 276.9 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.004772, allocations: 27.91 kB / 276.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.00482, allocations: 39.83 kB / 277 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.00507, allocations: 183.4 kB / 277.1 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005072, allocations: 0.5 kB / 277.1 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005073, allocations: 0 / 277.1 MB, free: 1.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005077, allocations: 0.6562 kB / 277.1 MB, free: 1.48 MB / 250.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.005562, allocations: 490.1 kB / 277.6 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.005597, allocations: 8.031 kB / 277.6 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.005797, allocations: 52.75 kB / 277.7 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.0059, allocations: 141.9 kB / 277.8 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.005919, allocations: 8.359 kB / 277.8 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.005932, allocations: 16.38 kB / 277.8 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.006043, allocations: 81.53 kB / 277.9 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.006049, allocations: 192 / 277.9 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.006058, allocations: 12.05 kB / 277.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.006063, allocations: 0 / 277.9 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.082e-05/0.006093, allocations: 15.97 kB / 278 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.006435, allocations: 324 kB / 278.3 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.006538, allocations: 82.08 kB / 278.3 MB, free: 148 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.006566, allocations: 35.42 kB / 278.4 MB, free: 104 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.006574, allocations: 4 kB / 278.4 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.006706, allocations: 119 kB / 278.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 9.02e-07/0.006707, allocations: 4 kB / 278.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002233/0.00693, allocations: 137.5 kB / 278.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.00698, allocations: 89.11 kB / 278.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.007097, allocations: 229.8 kB / 279 MB, free: 15.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.007125, allocations: 45.69 kB / 279 MB, free: 15.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.007189, allocations: 151.3 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.007226, allocations: 47.66 kB / 279.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.007291, allocations: 71.55 kB / 279.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.007422, allocations: 0.5 MB / 279.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.007462, allocations: 28.48 kB / 279.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.007519, allocations: 76.03 kB / 279.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.241e-05/0.007612, allocations: 91.53 kB / 280 MB, free: 14.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007614, allocations: 0 / 280 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001729/0.007787, allocations: 173.8 kB / 280.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.007799, allocations: 8 kB / 280.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.007805, allocations: 4.062 kB / 280.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.007812, allocations: 0 / 280.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.007918, allocations: 47.97 kB / 280.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.007921, allocations: 0 / 280.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.007957, allocations: 23.84 kB / 280.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.007968, allocations: 8 kB / 280.2 MB, free: 14.14 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 9.575e-05/0.008063, allocations: 184.5 kB / 280.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.008083, allocations: 23.84 kB / 280.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.008105, allocations: 17.47 kB / 280.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008107, allocations: 0 / 280.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.008109, allocations: 0 / 280.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.008112, allocations: 0 / 280.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.726e-05/0.00821, allocations: 125.2 kB / 280.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008211, allocations: 0 / 280.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.008231, allocations: 15.92 kB / 280.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.008232, allocations: 0 / 280.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.00824, allocations: 3.938 kB / 280.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.008243, allocations: 4 kB / 280.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008244, allocations: 96 / 280.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.008385, allocations: 172 kB / 280.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.008402, allocations: 23.84 kB / 280.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.00842, allocations: 7.938 kB / 280.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.303e-05/0.008443, allocations: 7.984 kB / 280.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.008475, allocations: 11.98 kB / 280.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.00848, allocations: 7.938 kB / 280.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.524e-05/0.008536, allocations: 160.1 kB / 281 MB, free: 13.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008536, allocations: 0 / 281 MB, free: 13.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.008722, allocations: 51.92 kB / 281 MB, free: 13.27 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.0003117/0.009034, allocations: 219.1 kB / 281.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.009167, allocations: 91.56 kB / 281.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.009168, allocations: 4.125 kB / 281.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.009206, allocations: 35.61 kB / 281.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.009354, allocations: 15.92 kB / 281.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.009656, allocations: 242 kB / 281.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.629e-05/0.009692, allocations: 75.16 kB / 281.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.635e-05/0.009728, allocations: 16.97 kB / 281.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.009788, allocations: 82.19 kB / 281.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009789, allocations: 0 / 281.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of Templates: time 0.003895/0.01368, allocations: 2.477 MB / 284.3 MB, free: 10.02 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.7296313270926476]