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.001931/0.001931, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002568/0.002568, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.507/1.507, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.001631/0.001631, allocations: 51.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2466, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002836/0.2494, allocations: 1.485 MB / 433.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2507, allocations: 0.5652 MB / 434.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.2507, allocations: 0 / 434.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.579e-05/0.2508, allocations: 15.88 kB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.2509, allocations: 19.8 kB / 434.4 MB, free: 4.617 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.0006301/0.2515, allocations: 151.6 kB / 434.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.2517, allocations: 111.7 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.2518, allocations: 9.25 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.385e-05/0.2518, allocations: 55.77 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006579/0.2525, allocations: 64.91 kB / 434.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.2525, allocations: 8 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.2528, allocations: 151.7 kB / 435 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.2529, allocations: 27.92 kB / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.253, allocations: 47.72 kB / 435 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.2533, allocations: 197 kB / 435.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2533, allocations: 0 / 435.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2533, allocations: 0 / 435.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2533, allocations: 0 / 435.2 MB, free: 3.82 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.0006678/0.254, allocations: 385.4 kB / 435.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.254, allocations: 11.97 kB / 435.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003197/0.2543, allocations: 36.81 kB / 435.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.2545, allocations: 150.4 kB / 435.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.2545, allocations: 4.375 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.2546, allocations: 12.38 kB / 435.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.2548, allocations: 114.7 kB / 435.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2548, allocations: 3.938 kB / 435.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.2548, allocations: 3.984 kB / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.2548, allocations: 0 / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.255, allocations: 59.95 kB / 436 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.2556, allocations: 293.2 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.2559, allocations: 129.2 kB / 436.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2561, allocations: 57.67 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.2561, allocations: 4 kB / 436.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.2563, allocations: 137 kB / 436.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.2564, allocations: 4 kB / 436.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005512/0.2569, allocations: 233.5 kB / 436.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.257, allocations: 93.08 kB / 436.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.2572, allocations: 178.2 kB / 437.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.2572, allocations: 45.69 kB / 437.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.2573, allocations: 104.6 kB / 437.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.2573, allocations: 39.69 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.2574, allocations: 61.91 kB / 437.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2576, allocations: 330.8 kB / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.2577, allocations: 96.47 kB / 437.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.258, allocations: 128.4 kB / 437.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.2583, allocations: 211.3 kB / 438.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2583, allocations: 0 / 438.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005194/0.2588, allocations: 297.4 kB / 438.4 MB, free: 448 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2589, allocations: 8 kB / 438.4 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.2589, allocations: 0 / 438.4 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.2589, allocations: 0 / 438.4 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.259, allocations: 35.92 kB / 438.4 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.2591, allocations: 3.984 kB / 438.4 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.2591, allocations: 27.78 kB / 438.5 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.2592, allocations: 4 kB / 438.5 MB, free: 368 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.0001516/0.2593, allocations: 149.7 kB / 438.6 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.2593, allocations: 19.91 kB / 438.6 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.2594, allocations: 17.39 kB / 438.6 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2594, allocations: 0 / 438.6 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2594, allocations: 0 / 438.6 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2594, allocations: 0 / 438.6 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.2596, allocations: 141.2 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.2596, allocations: 0 / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.874e-05/0.2596, allocations: 11.98 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2596, allocations: 96 / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.2596, allocations: 11.98 kB / 438.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2596, allocations: 0 / 438.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2596, allocations: 0 / 438.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.26, allocations: 226.1 kB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.2601, allocations: 27.83 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.2601, allocations: 4 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.2601, allocations: 7.984 kB / 439.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.2602, allocations: 15.98 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.2602, allocations: 0 / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.2603, allocations: 132.2 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2603, allocations: 4 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.2606, allocations: 51.92 kB / 439.3 MB, free: 15.49 MB / 350.1 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.000518/0.2612, allocations: 204.3 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004086/0.2616, allocations: 171.8 kB / 439.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2616, allocations: 7.938 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.2617, allocations: 47.97 kB / 439.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.2619, allocations: 10.75 kB / 439.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.2624, allocations: 281.6 kB / 440 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.784e-05/0.2625, allocations: 93.91 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.2626, allocations: 15.44 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2626, allocations: 3.938 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Templates: time 0.005169/0.2677, allocations: 2.345 MB / 442.4 MB, free: 12.3 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: 7.795839705970138]