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.001753/0.001753, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002161/0.002161, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.466/1.466, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.001515/0.001515, allocations: 55.56 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.09404, allocations: 53.35 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00304/0.09708, allocations: 1.469 MB / 380.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.09832, allocations: 0.5789 MB / 381 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.09837, allocations: 4 kB / 381 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.433e-05/0.09845, allocations: 11.88 kB / 381 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.09852, allocations: 19.78 kB / 381 MB, free: 13.57 MB / 350.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.000565/0.09909, allocations: 151.6 kB / 381.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.09925, allocations: 107.7 kB / 381.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.09929, allocations: 5.312 kB / 381.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.09936, allocations: 55.77 kB / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/0.09995, allocations: 73.88 kB / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.09998, allocations: 12 kB / 381.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.1003, allocations: 143.7 kB / 381.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.1003, allocations: 31.92 kB / 381.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.1004, allocations: 47.72 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.1007, allocations: 191.3 kB / 381.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1007, allocations: 3.984 kB / 381.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1007, allocations: 0 / 381.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1007, allocations: 0 / 381.8 MB, free: 12.76 MB / 350.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.0006387/0.1014, allocations: 389.4 kB / 382.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1014, allocations: 8.031 kB / 382.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.1017, allocations: 36.83 kB / 382.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.1019, allocations: 154.2 kB / 382.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1019, allocations: 8.359 kB / 382.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1019, allocations: 4.375 kB / 382.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.1022, allocations: 115.5 kB / 382.5 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1022, allocations: 0 / 382.5 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.1022, allocations: 4 kB / 382.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1022, allocations: 4 kB / 382.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.1024, allocations: 59.83 kB / 382.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.103, allocations: 297.3 kB / 382.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.1034, allocations: 121 kB / 383 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1035, allocations: 53.75 kB / 383 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.1035, allocations: 0 / 383 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.1038, allocations: 148.9 kB / 383.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.011e-06/0.1038, allocations: 0 / 383.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005714/0.1044, allocations: 242 kB / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.1044, allocations: 89.11 kB / 383.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1046, allocations: 174.2 kB / 383.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.1047, allocations: 49.62 kB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.1048, allocations: 104.6 kB / 383.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.1048, allocations: 47.67 kB / 383.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.389e-05/0.1049, allocations: 49.94 kB / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1051, allocations: 334.8 kB / 384.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.1053, allocations: 96.47 kB / 384.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.1055, allocations: 129.3 kB / 384.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.1059, allocations: 211.4 kB / 384.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1059, allocations: 4 kB / 384.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005292/0.1064, allocations: 293.4 kB / 385 MB, free: 9.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.1064, allocations: 4 kB / 385 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1064, allocations: 3.984 kB / 385 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1064, allocations: 4 kB / 385 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.1066, allocations: 27.92 kB / 385 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1066, allocations: 0 / 385 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.772e-05/0.1067, allocations: 23.84 kB / 385 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1067, allocations: 4 kB / 385 MB, free: 9.309 MB / 350.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.0001716/0.1069, allocations: 162.5 kB / 385.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.1069, allocations: 11.91 kB / 385.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.107, allocations: 17.45 kB / 385.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.107, allocations: 0 / 385.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.107, allocations: 0 / 385.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.107, allocations: 4 kB / 385.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1071, allocations: 141.2 kB / 385.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.1072, allocations: 11.94 kB / 385.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.1072, allocations: 4 kB / 385.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1072, allocations: 4 kB / 385.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1072, allocations: 7.984 kB / 385.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1072, allocations: 0 / 385.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1072, allocations: 0 / 385.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.1076, allocations: 229.6 kB / 385.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.1076, allocations: 11.91 kB / 385.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1077, allocations: 11.94 kB / 385.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.1077, allocations: 11.98 kB / 385.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.1078, allocations: 7.984 kB / 385.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.1078, allocations: 8 kB / 385.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1079, allocations: 136.2 kB / 385.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1079, allocations: 0 / 385.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1082, allocations: 43.94 kB / 385.8 MB, free: 8.438 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.0004969/0.1087, allocations: 209 kB / 386 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.1091, allocations: 172.1 kB / 386.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1091, allocations: 0 / 386.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.1093, allocations: 55.91 kB / 386.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.1094, allocations: 15.92 kB / 386.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.1099, allocations: 252 kB / 386.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.11, allocations: 93.78 kB / 386.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.1101, allocations: 21.03 kB / 386.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.1101, allocations: 16.48 kB / 386.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1101, allocations: 0 / 386.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of Templates: time 0.005779/0.1159, allocations: 2.03 MB / 388.7 MB, free: 5.566 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 -s ida -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.302391129895113]