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.001879/0.001879, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002007/0.002007, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.559/1.559, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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 5.22e-06/5.22e-06, allocations: 4 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.417e-05, allocations: 6.25 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00323/0.003264, allocations: 1.503 MB / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.00471, allocations: 0.569 MB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.004761, allocations: 0 / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.004873, allocations: 7.875 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.00496, allocations: 27.78 kB / 274.4 MB, free: 15.71 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.0006654/0.005625, allocations: 155.4 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.005817, allocations: 123.6 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.005865, allocations: 9.25 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.00597, allocations: 59.88 kB / 274.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007491/0.006719, allocations: 73.34 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.006754, allocations: 8 kB / 274.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.007093, allocations: 147.7 kB / 275 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.763e-05/0.007181, allocations: 35.84 kB / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.007242, allocations: 23.92 kB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.007684, allocations: 219.3 kB / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.00769, allocations: 8 kB / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007691, allocations: 0 / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.007696, allocations: 0 / 275.3 MB, free: 14.89 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.0008019/0.008498, allocations: 487.3 kB / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.008543, allocations: 12.03 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.00889, allocations: 44.75 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.009085, allocations: 148.4 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.009122, allocations: 4.375 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.009145, allocations: 8.375 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.009371, allocations: 93.59 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.00938, allocations: 192 / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.009395, allocations: 4.125 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.009403, allocations: 4 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.009554, allocations: 39.91 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000741/0.01029, allocations: 363.2 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.01068, allocations: 126.1 kB / 276.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.01078, allocations: 43.36 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.01079, allocations: 0 / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.01108, allocations: 136.5 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 9.42e-07/0.01108, allocations: 0 / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005348/0.01161, allocations: 181.5 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.01172, allocations: 93.03 kB / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.012, allocations: 253.8 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.92e-05/0.01206, allocations: 45.69 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.0122, allocations: 163.3 kB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.47e-05/0.01226, allocations: 47.7 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.01239, allocations: 71.58 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003095/0.0127, allocations: 0.5118 MB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.01285, allocations: 48.5 kB / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.01305, allocations: 100.9 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.01335, allocations: 147.5 kB / 278.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01335, allocations: 4 kB / 278.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004548/0.01381, allocations: 217.4 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.01383, allocations: 4 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.01384, allocations: 0 / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.01385, allocations: 4 kB / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.01407, allocations: 39.92 kB / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.01408, allocations: 7.938 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.01421, allocations: 27.81 kB / 278.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.01424, allocations: 4 kB / 278.7 MB, free: 11.18 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,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.0002175/0.01446, allocations: 200.6 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.0145, allocations: 19.84 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.01454, allocations: 13.47 kB / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01454, allocations: 0 / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.01455, allocations: 4 kB / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01455, allocations: 0 / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.01477, allocations: 156.5 kB / 279.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.01478, allocations: 4 kB / 279.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.01483, allocations: 11.94 kB / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01484, allocations: 0 / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.01485, allocations: 7.984 kB / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01486, allocations: 0 / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01486, allocations: 0 / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.01524, allocations: 199.9 kB / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.01528, allocations: 19.78 kB / 279.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.01531, allocations: 11.98 kB / 279.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.574e-05/0.01536, allocations: 4 kB / 279.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.01542, allocations: 7.984 kB / 279.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.01544, allocations: 15.98 kB / 279.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.01559, allocations: 168.2 kB / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01559, allocations: 0 / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003258/0.01592, allocations: 47.94 kB / 279.6 MB, free: 10.23 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.0007183/0.01663, allocations: 219.9 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.01705, allocations: 148.4 kB / 279.9 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.01706, allocations: 4 kB / 279.9 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.01719, allocations: 47.66 kB / 280 MB, free: 9.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.01743, allocations: 19.92 kB / 280 MB, free: 9.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.01805, allocations: 250 kB / 280.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.01817, allocations: 101.7 kB / 280.3 MB, free: 9.422 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.418e-05/0.01823, allocations: 17.16 kB / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.01828, allocations: 12.5 kB / 280.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01828, allocations: 0 / 280.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of Templates: time 0.006987/0.02526, allocations: 2.232 MB / 282.6 MB, free: 7.18 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 -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","/var/lib/jenkins/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.585053640999831]