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.001269/0.001269, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 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.001493/0.001493, allocations: 219.5 kB / 24.49 MB, free: 3.93 MB / 14.72 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001563/0.001563, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2273, allocations: 53.37 MB / 432.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002549/0.2298, allocations: 1.481 MB / 433.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.231, allocations: 0.5689 MB / 434.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.231, allocations: 4 kB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.868e-05/0.2311, allocations: 11.88 kB / 434.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.765e-05/0.2312, allocations: 23.78 kB / 434.4 MB, free: 4.57 MB / 334.1 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.0005429/0.2317, allocations: 151.6 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.2319, allocations: 115.6 kB / 434.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.2319, allocations: 5.312 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.952e-05/0.232, allocations: 55.77 kB / 434.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.2325, allocations: 72.16 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.2325, allocations: 12 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.2328, allocations: 147.7 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.2329, allocations: 31.92 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.2329, allocations: 51.7 kB / 435.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.2332, allocations: 194.2 kB / 435.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2332, allocations: 0 / 435.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2332, allocations: 0 / 435.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2333, allocations: 0 / 435.2 MB, free: 3.762 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.0006325/0.2339, allocations: 393.2 kB / 435.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2339, allocations: 8.031 kB / 435.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.2342, allocations: 40.81 kB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.2344, allocations: 142.4 kB / 435.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2344, allocations: 384 / 435.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.2344, allocations: 16.36 kB / 435.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.2347, allocations: 111.5 kB / 435.9 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2347, allocations: 3.938 kB / 435.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2347, allocations: 0 / 435.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2347, allocations: 0 / 435.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.2349, allocations: 59.95 kB / 436 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.2355, allocations: 297.2 kB / 436.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.2358, allocations: 129.1 kB / 436.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.2359, allocations: 45.69 kB / 436.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.2359, allocations: 4 kB / 436.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.2362, allocations: 145 kB / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.2362, allocations: 0 / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005369/0.2367, allocations: 233.5 kB / 436.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.2368, allocations: 97.16 kB / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.237, allocations: 174.3 kB / 437.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.237, allocations: 45.69 kB / 437.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.2371, allocations: 104.6 kB / 437.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.2371, allocations: 43.69 kB / 437.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.2372, allocations: 61.91 kB / 437.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2374, allocations: 326.8 kB / 437.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.2376, allocations: 100.5 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.2378, allocations: 132.4 kB / 437.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.2381, allocations: 211.3 kB / 438.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2381, allocations: 0 / 438.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005117/0.2386, allocations: 293.4 kB / 438.4 MB, free: 392 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2386, allocations: 8 kB / 438.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2387, allocations: 0 / 438.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2387, allocations: 0 / 438.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.2388, allocations: 35.92 kB / 438.4 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2388, allocations: 0 / 438.4 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.2389, allocations: 23.78 kB / 438.5 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2389, allocations: 11.98 kB / 438.5 MB, free: 312 kB / 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.0001376/0.2391, allocations: 153.8 kB / 438.6 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.2391, allocations: 15.91 kB / 438.6 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.2391, allocations: 13.41 kB / 438.7 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.2391, allocations: 0 / 438.7 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2391, allocations: 0 / 438.7 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.2392, allocations: 27.77 kB / 438.7 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.2392, allocations: 8 kB / 438.7 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.2393, allocations: 11.92 kB / 438.7 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.2393, allocations: 11.98 kB / 438.7 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004422/0.2398, allocations: 340.1 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004409/0.2402, allocations: 426.5 kB / 439.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001225/0.2403, allocations: 47.97 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.2404, allocations: 140.2 kB / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of Backend: time 2.21e-07/0.2404, allocations: 0 / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009544/0.2414, allocations: 309.2 kB / 439.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006089/0.242, allocations: 0.66 MB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Templates: time 0.005724/0.2477, allocations: 2.381 MB / 443 MB, free: 11.76 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.346093328000279]