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.001631/0.001631, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001442/0.001442, allocations: 153.1 kB / 24.26 MB, free: 156 kB / 18.57 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.561/1.561, allocations: 173.3 MB / 200.8 MB, free: 9.293 MB / 186.7 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 1.563e-06/1.563e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.349e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003022/0.003055, allocations: 1.464 MB / 268.8 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.004542, allocations: 0.5806 MB / 269.4 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.004598, allocations: 4 kB / 269.4 MB, free: 4.648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.004713, allocations: 11.86 kB / 269.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.397e-05/0.004787, allocations: 15.8 kB / 269.4 MB, free: 4.621 MB / 250.7 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.0006602/0.005447, allocations: 159.4 kB / 269.5 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.005631, allocations: 111.7 kB / 269.7 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.976e-05/0.005691, allocations: 13.19 kB / 269.7 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.005808, allocations: 63.88 kB / 269.7 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.006503, allocations: 86.58 kB / 269.8 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.006534, allocations: 12 kB / 269.8 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003287/0.006863, allocations: 139.7 kB / 270 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.00693, allocations: 35.83 kB / 270 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.006996, allocations: 31.92 kB / 270 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.007402, allocations: 215.3 kB / 270.2 MB, free: 3.785 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.007407, allocations: 4 kB / 270.2 MB, free: 3.781 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007408, allocations: 0 / 270.2 MB, free: 3.781 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.007413, allocations: 0 / 270.2 MB, free: 3.781 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.0007312/0.008144, allocations: 381.4 kB / 270.6 MB, free: 3.379 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.008185, allocations: 12.92 kB / 270.6 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.008551, allocations: 48.75 kB / 270.7 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.008753, allocations: 145.5 kB / 270.8 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.008772, allocations: 4.375 kB / 270.8 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.008794, allocations: 8.375 kB / 270.8 MB, free: 3.141 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.009059, allocations: 115.3 kB / 270.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.009068, allocations: 0 / 270.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.009083, allocations: 4 kB / 270.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.009088, allocations: 0 / 270.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.009288, allocations: 63.89 kB / 271 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006963/0.009984, allocations: 289.2 kB / 271.3 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.01033, allocations: 117.2 kB / 271.4 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.01046, allocations: 57.73 kB / 271.5 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.01047, allocations: 8 kB / 271.5 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/0.01079, allocations: 148 kB / 271.6 MB, free: 2.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.01079, allocations: 0 / 271.6 MB, free: 2.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006104/0.0114, allocations: 233.5 kB / 271.8 MB, free: 2.035 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/0.01149, allocations: 93.09 kB / 271.9 MB, free: 1.926 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.01172, allocations: 174.2 kB / 272.1 MB, free: 1.746 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.01177, allocations: 45.69 kB / 272.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.01188, allocations: 116.6 kB / 272.3 MB, free: 1.574 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.01194, allocations: 39.73 kB / 272.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.01204, allocations: 57.92 kB / 272.4 MB, free: 1.469 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.01224, allocations: 330.8 kB / 272.7 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.01246, allocations: 96.47 kB / 272.8 MB, free: 1.039 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.0127, allocations: 128.4 kB / 272.9 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.01314, allocations: 210.9 kB / 273.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01315, allocations: 0 / 273.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006036/0.01375, allocations: 309.3 kB / 273.4 MB, free: 392 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.01377, allocations: 8 kB / 273.4 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01378, allocations: 0 / 273.4 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.0138, allocations: 0 / 273.4 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.01396, allocations: 31.92 kB / 273.4 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.01396, allocations: 4 kB / 273.4 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.454e-05/0.01405, allocations: 19.95 kB / 273.5 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.01407, allocations: 11.98 kB / 273.5 MB, free: 316 kB / 250.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.0001715/0.01424, allocations: 153.8 kB / 273.6 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.01427, allocations: 15.91 kB / 273.6 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.01431, allocations: 17.41 kB / 273.7 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01431, allocations: 0 / 273.7 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.01432, allocations: 4 kB / 273.7 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01432, allocations: 0 / 273.7 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.01455, allocations: 149.1 kB / 273.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01455, allocations: 4 kB / 273.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.015e-05/0.0146, allocations: 7.984 kB / 273.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.01461, allocations: 4 kB / 273.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01462, allocations: 0 / 273.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01462, allocations: 0 / 273.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.01462, allocations: 3.938 kB / 273.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.01505, allocations: 221.8 kB / 274 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.01509, allocations: 19.84 kB / 274.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.01512, allocations: 7.984 kB / 274.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.01518, allocations: 8 kB / 274.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.01524, allocations: 11.98 kB / 274.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.01525, allocations: 7.984 kB / 274.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.01539, allocations: 132.2 kB / 274.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01539, allocations: 0 / 274.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.01569, allocations: 43.94 kB / 274.3 MB, free: 15.45 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.0006163/0.0163, allocations: 223.3 kB / 274.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.01673, allocations: 171.8 kB / 274.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.01673, allocations: 4 kB / 274.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.01688, allocations: 52.09 kB / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.01711, allocations: 19.88 kB / 274.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.01764, allocations: 257.4 kB / 275 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.01776, allocations: 97.64 kB / 275.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.93e-05/0.01782, allocations: 16.91 kB / 275.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.01787, allocations: 20.48 kB / 275.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01787, allocations: 4 kB / 275.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of Templates: time 0.006297/0.02416, allocations: 2.222 MB / 277.3 MB, free: 12.37 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/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: 4.492317240918055]