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.0007819/0.0007819, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.00185, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006582/0.0006582, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009382/0.001596, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.007/1.007, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09091/1.098, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] 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.623e-06/1.623e-06, allocations: 0 / 239.5 MB, free: 3.164 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.003e-05, allocations: 2.312 kB / 239.6 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00182/0.00184, allocations: 1.557 MB / 241.1 MB, free: 1.598 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007299/0.00257, allocations: 0.5821 MB / 241.7 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.002612, allocations: 0 / 241.7 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.971e-05/0.002662, allocations: 7.875 kB / 241.7 MB, free: 1.008 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.522e-05/0.002717, allocations: 27.78 kB / 241.7 MB, free: 0.9805 MB / 234.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.0004164/0.003133, allocations: 139.4 kB / 241.9 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.003259, allocations: 115.6 kB / 242 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.003299, allocations: 5.969 kB / 242 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.003407, allocations: 91.8 kB / 242.1 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.003774, allocations: 79.08 kB / 242.1 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.003807, allocations: 12 kB / 242.2 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.004052, allocations: 139.7 kB / 242.3 MB, free: 432 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.00409, allocations: 23.94 kB / 242.3 MB, free: 408 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.004127, allocations: 31.88 kB / 242.3 MB, free: 376 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.004367, allocations: 163.4 kB / 242.5 MB, free: 212 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.00438, allocations: 0 / 242.5 MB, free: 212 kB / 234.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004381, allocations: 0 / 242.5 MB, free: 212 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.004392, allocations: 0 / 242.5 MB, free: 212 kB / 234.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.0004684/0.00486, allocations: 387.6 kB / 242.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.635e-05/0.004887, allocations: 8.031 kB / 242.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.005109, allocations: 118 kB / 243 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.005223, allocations: 162.1 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.005243, allocations: 8.375 kB / 243.2 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.005255, allocations: 4.375 kB / 243.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.005375, allocations: 86.06 kB / 243.3 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005383, allocations: 0 / 243.3 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.00539, allocations: 0 / 243.3 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.005395, allocations: 11.98 kB / 243.3 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.263e-05/0.005427, allocations: 13.66 kB / 243.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.00573, allocations: 218.8 kB / 243.5 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.005831, allocations: 105 kB / 243.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.005855, allocations: 29.62 kB / 243.6 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.005861, allocations: 0 / 243.6 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.005983, allocations: 107.9 kB / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 8.72e-07/0.005983, allocations: 4 kB / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001442/0.006128, allocations: 95.25 kB / 243.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.00618, allocations: 89.11 kB / 243.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.006272, allocations: 166.6 kB / 244.1 MB, free: 14.44 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.006301, allocations: 53.62 kB / 244.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.006342, allocations: 96.56 kB / 244.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.006377, allocations: 51.64 kB / 244.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.00643, allocations: 53.86 kB / 244.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.006511, allocations: 330.8 kB / 244.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/0.006559, allocations: 23.34 kB / 244.7 MB, free: 13.81 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.82e-05/0.006607, allocations: 63.55 kB / 244.7 MB, free: 13.74 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.247e-05/0.006699, allocations: 116.5 kB / 244.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.006702, allocations: 0 / 244.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001343/0.006836, allocations: 136.4 kB / 245 MB, free: 13.47 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.006848, allocations: 4 kB / 245 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.006854, allocations: 4 kB / 245 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.533e-06/0.00686, allocations: 0 / 245 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.006977, allocations: 55.91 kB / 245.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.00698, allocations: 64 / 245.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.007015, allocations: 19.89 kB / 245.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.007025, allocations: 4 kB / 245.1 MB, free: 13.38 MB / 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,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.503e-05/0.007121, allocations: 156.6 kB / 245.2 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.007134, allocations: 7.984 kB / 245.2 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.007157, allocations: 13.47 kB / 245.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007158, allocations: 0 / 245.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.007162, allocations: 4 kB / 245.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.007166, allocations: 3.984 kB / 245.3 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.253e-05/0.007259, allocations: 89.83 kB / 245.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.007261, allocations: 3.938 kB / 245.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/0.007282, allocations: 11.92 kB / 245.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.007297, allocations: 19.84 kB / 245.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007299, allocations: 0 / 245.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.007305, allocations: 0 / 245.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.007308, allocations: 4 kB / 245.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.00731, allocations: 3.938 kB / 245.4 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.007419, allocations: 122.4 kB / 245.5 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.007436, allocations: 4 kB / 245.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.993e-05/0.007466, allocations: 15.98 kB / 245.5 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.007495, allocations: 7.984 kB / 245.5 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.0075, allocations: 0 / 245.5 MB, free: 12.87 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.386e-05/0.007533, allocations: 49.81 kB / 245.6 MB, free: 12.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007533, allocations: 0 / 245.6 MB, free: 12.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001655/0.007699, allocations: 47.92 kB / 245.6 MB, free: 12.77 MB / 250.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.0003648/0.008064, allocations: 241.9 kB / 245.9 MB, free: 12.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.0082, allocations: 85.03 kB / 246 MB, free: 12.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.008204, allocations: 0 / 246 MB, free: 12.5 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.008239, allocations: 28.84 kB / 246 MB, free: 12.47 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.008351, allocations: 31.7 kB / 246 MB, free: 12.44 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.008784, allocations: 257.7 kB / 246.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.00882, allocations: 67.34 kB / 246.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.533e-05/0.008866, allocations: 12.97 kB / 246.3 MB, free: 12.05 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.008923, allocations: 67.36 kB / 246.4 MB, free: 11.99 MB / 250.7 MB Notification: Performance of SimCode: time 1.042e-06/0.008924, allocations: 0 / 246.4 MB, free: 11.99 MB / 250.7 MB Notification: Performance of Templates: time 0.003853/0.01278, allocations: 2.403 MB / 248.8 MB, free: 9.605 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] 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","",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.5602942062541842]