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.001454/0.001454, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 14.72 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.001556/0.001556, allocations: 192.3 kB / 21.4 MB, free: 1.664 MB / 14.72 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.412/1.412, allocations: 225.6 MB / 249.8 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001508/0.001508, allocations: 51.92 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1091, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002728/0.1118, allocations: 1.481 MB / 420.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1131, allocations: 0.5886 MB / 421 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.031e-05/0.1131, allocations: 7.938 kB / 421 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.555e-05/0.1132, allocations: 7.875 kB / 421 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.391e-05/0.1133, allocations: 15.81 kB / 421.1 MB, free: 9.984 MB / 350.1 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.0005661/0.1138, allocations: 139.6 kB / 421.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.114, allocations: 115.7 kB / 421.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.114, allocations: 1.125 kB / 421.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.609e-05/0.1141, allocations: 55.77 kB / 421.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.1147, allocations: 71.11 kB / 421.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.1147, allocations: 16 kB / 421.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.1149, allocations: 119.9 kB / 421.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.115, allocations: 31.86 kB / 421.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.1151, allocations: 55.64 kB / 421.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.1154, allocations: 195.3 kB / 421.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1154, allocations: 0 / 421.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1154, allocations: 0 / 421.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1154, allocations: 0 / 421.8 MB, free: 9.207 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.0007123/0.1161, allocations: 462.5 kB / 422.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.1162, allocations: 12.03 kB / 422.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/0.1165, allocations: 44.81 kB / 422.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1167, allocations: 196.1 kB / 422.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.1167, allocations: 16.11 kB / 422.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.1168, allocations: 4 kB / 422.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.117, allocations: 111.4 kB / 422.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.117, allocations: 0 / 422.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.117, allocations: 4 kB / 422.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.117, allocations: 3.938 kB / 422.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.1172, allocations: 59.89 kB / 422.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006842/0.1179, allocations: 369.6 kB / 423.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.1182, allocations: 125.1 kB / 423.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1183, allocations: 53.75 kB / 423.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.1184, allocations: 4 kB / 423.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.1186, allocations: 137.1 kB / 423.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1186, allocations: 0 / 423.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005801/0.1192, allocations: 233.9 kB / 423.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1193, allocations: 101.1 kB / 423.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1195, allocations: 190.2 kB / 423.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.1196, allocations: 41.69 kB / 424 MB, free: 6.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1197, allocations: 104.5 kB / 424.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.1197, allocations: 39.73 kB / 424.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.1198, allocations: 61.91 kB / 424.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.1201, allocations: 330.8 kB / 424.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.1203, allocations: 100.5 kB / 424.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.1205, allocations: 128.3 kB / 424.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.1208, allocations: 219.3 kB / 424.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1209, allocations: 4 kB / 424.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005058/0.1214, allocations: 301.4 kB / 425.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1214, allocations: 4 kB / 425.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1214, allocations: 0 / 425.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1214, allocations: 4 kB / 425.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1216, allocations: 27.92 kB / 425.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1216, allocations: 7.875 kB / 425.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.1216, allocations: 19.94 kB / 425.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.1217, allocations: 4 kB / 425.3 MB, free: 5.477 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.0001682/0.1218, allocations: 154.5 kB / 425.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.1219, allocations: 11.91 kB / 425.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.1219, allocations: 17.39 kB / 425.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1219, allocations: 0 / 425.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1219, allocations: 3.938 kB / 425.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1219, allocations: 4 kB / 425.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.1221, allocations: 205.5 kB / 425.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1221, allocations: 3.938 kB / 425.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.1222, allocations: 15.98 kB / 425.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1222, allocations: 0 / 425.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1222, allocations: 0 / 425.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.1222, allocations: 7.984 kB / 425.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1222, allocations: 3.938 kB / 425.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.1226, allocations: 225.8 kB / 425.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.1227, allocations: 89.02 kB / 426 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.1227, allocations: 7.984 kB / 426 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.1227, allocations: 4 kB / 426 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.1228, allocations: 23.86 kB / 426 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.1228, allocations: 0 / 426 MB, free: 4.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.1229, allocations: 136.2 kB / 426.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1229, allocations: 0 / 426.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1232, allocations: 43.94 kB / 426.2 MB, free: 4.434 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.0005145/0.1237, allocations: 217.1 kB / 426.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004266/0.1242, allocations: 172.1 kB / 426.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1242, allocations: 4 kB / 426.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.1243, allocations: 59.94 kB / 426.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.1245, allocations: 7.984 kB / 426.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.1251, allocations: 281.3 kB / 426.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1254, allocations: 0.712 MB / 427.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.1255, allocations: 23.42 kB / 427.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1255, allocations: 0 / 427.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of Templates: time 0.004781/0.1302, allocations: 2.302 MB / 430 MB, free: 0.6328 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.100861661834642]