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.0009279/0.0009279, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009865/0.0009865, allocations: 170.4 kB / 24.91 MB, free: 9.191 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.9801/0.9801, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.513e-06/1.513e-06, allocations: 0 / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.156e-05, allocations: 2.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002031/0.002053, allocations: 1.57 MB / 275.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000881/0.002934, allocations: 0.5844 MB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/0.002982, allocations: 4 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.799e-05/0.00308, allocations: 11.86 kB / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.003149, allocations: 23.75 kB / 275.7 MB, free: 15.06 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.0004585/0.003607, allocations: 151.4 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.00373, allocations: 115.6 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.003768, allocations: 9.953 kB / 276 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.096e-05/0.003839, allocations: 59.88 kB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.004224, allocations: 80.03 kB / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.004251, allocations: 12 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.004496, allocations: 147.7 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.004541, allocations: 35.89 kB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.004578, allocations: 35.84 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.004841, allocations: 187.5 kB / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004843, allocations: 0 / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004844, allocations: 3.938 kB / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.004847, allocations: 0 / 276.5 MB, free: 14.26 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.0003755/0.005223, allocations: 348 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.005252, allocations: 8.031 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.005463, allocations: 44.83 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.005564, allocations: 150.3 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.00558, allocations: 8.359 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.005592, allocations: 12.38 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.0057, allocations: 82.34 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.005707, allocations: 4.188 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.005715, allocations: 4.125 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.005719, allocations: 0 / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.517e-05/0.005754, allocations: 25.58 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.006059, allocations: 218.7 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.006153, allocations: 109 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.006176, allocations: 21.72 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.006183, allocations: 3.984 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.00629, allocations: 104 kB / 277.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.006292, allocations: 0 / 277.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001407/0.006432, allocations: 103.2 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.006475, allocations: 89.05 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.00656, allocations: 174.5 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.006585, allocations: 49.69 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.00662, allocations: 88.62 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.00665, allocations: 55.66 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.006703, allocations: 53.89 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.006781, allocations: 334.8 kB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.076e-05/0.006822, allocations: 27.34 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.006873, allocations: 72.27 kB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.118e-05/0.006964, allocations: 100.6 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.006966, allocations: 0 / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001375/0.007104, allocations: 140.3 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.007116, allocations: 8.062 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.007122, allocations: 4 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.007133, allocations: 0 / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.007251, allocations: 51.91 kB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.007254, allocations: 4 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.007291, allocations: 19.89 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.007302, allocations: 4 kB / 279 MB, free: 11.56 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 8.809e-05/0.00739, allocations: 148.7 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.007404, allocations: 19.92 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.007423, allocations: 13.47 kB / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007425, allocations: 0 / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.007427, allocations: 0 / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.00743, allocations: 0 / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.563e-05/0.007515, allocations: 93.75 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.007519, allocations: 4 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.007537, allocations: 4 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.007539, allocations: 0 / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.007547, allocations: 7.984 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.007549, allocations: 3.938 kB / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.007551, allocations: 4 kB / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.007654, allocations: 122.3 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.007669, allocations: 19.83 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.007687, allocations: 8 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/0.007709, allocations: 7.938 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.007742, allocations: 11.97 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.007749, allocations: 4 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.996e-05/0.007779, allocations: 41.81 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007779, allocations: 0 / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.007945, allocations: 47.92 kB / 279.5 MB, free: 10.95 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.0003511/0.008296, allocations: 221.2 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.008429, allocations: 101.3 kB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.008432, allocations: 0 / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.459e-05/0.008467, allocations: 28.84 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.008576, allocations: 14.02 kB / 279.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.008866, allocations: 241.8 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.198e-05/0.008898, allocations: 67.34 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.052e-05/0.008939, allocations: 20.95 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.008994, allocations: 59.38 kB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.008995, allocations: 4.125 kB / 280.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of Templates: time 0.004166/0.01316, allocations: 2.36 MB / 282.6 MB, free: 7.852 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 -s gbode -gbm=radauIIA3 -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.6651271590963006]