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.001323/0.001323, allocations: 116.9 kB / 18.41 MB, free: 4.688 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.001337/0.001337, allocations: 190.9 kB / 21.35 MB, free: 1.75 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.504/1.504, allocations: 222.9 MB / 247.1 MB, free: 4.324 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.001549/0.001549, allocations: 47.92 kB / 358.7 MB, free: 8.441 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.102, allocations: 49.43 MB / 408.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002689/0.1048, allocations: 1.481 MB / 409.6 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1059, allocations: 0.5691 MB / 410.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/0.106, allocations: 0 / 410.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.1061, allocations: 15.86 kB / 410.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.1062, allocations: 15.81 kB / 410.2 MB, free: 4.871 MB / 334.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.0005865/0.1068, allocations: 139.6 kB / 410.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.107, allocations: 115.7 kB / 410.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.107, allocations: 25.03 kB / 410.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.1071, allocations: 51.77 kB / 410.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.1078, allocations: 70.8 kB / 410.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1078, allocations: 12 kB / 410.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.108, allocations: 107.8 kB / 410.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.1081, allocations: 27.91 kB / 410.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.273e-05/0.1082, allocations: 59.66 kB / 410.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.1085, allocations: 191.3 kB / 411 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1085, allocations: 0 / 411 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1085, allocations: 4 kB / 411 MB, free: 4.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1085, allocations: 0 / 411 MB, free: 4.09 MB / 334.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.0006866/0.1092, allocations: 462.5 kB / 411.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1093, allocations: 15.97 kB / 411.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/0.1096, allocations: 40.81 kB / 411.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1098, allocations: 200.2 kB / 411.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1098, allocations: 8.125 kB / 411.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1099, allocations: 4 kB / 411.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.1101, allocations: 115.3 kB / 411.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1102, allocations: 3.938 kB / 411.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1102, allocations: 8 kB / 411.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1102, allocations: 0 / 411.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.1104, allocations: 51.95 kB / 411.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.111, allocations: 377.6 kB / 412.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.1114, allocations: 133.1 kB / 412.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.1115, allocations: 53.75 kB / 412.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.1116, allocations: 7.938 kB / 412.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.1118, allocations: 137 kB / 412.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.1118, allocations: 0 / 412.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005456/0.1124, allocations: 242 kB / 412.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.1125, allocations: 93.09 kB / 412.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1127, allocations: 182.3 kB / 413.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.1127, allocations: 41.69 kB / 413.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.1128, allocations: 112.5 kB / 413.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.1128, allocations: 39.72 kB / 413.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.1129, allocations: 57.94 kB / 413.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1131, allocations: 334.8 kB / 413.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.1133, allocations: 96.47 kB / 413.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1135, allocations: 124.2 kB / 413.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.1139, allocations: 215.4 kB / 414.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1139, allocations: 0 / 414.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005288/0.1144, allocations: 293.4 kB / 414.3 MB, free: 444 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1144, allocations: 6.031 kB / 414.3 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1145, allocations: 3.984 kB / 414.4 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1145, allocations: 7.938 kB / 414.4 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.1146, allocations: 35.97 kB / 414.4 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1147, allocations: 3.938 kB / 414.4 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.1147, allocations: 23.83 kB / 414.4 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1148, allocations: 4 kB / 414.4 MB, free: 360 kB / 334.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.0001439/0.1149, allocations: 153.7 kB / 414.6 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1149, allocations: 11.91 kB / 414.6 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.115, allocations: 17.39 kB / 414.6 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.115, allocations: 4 kB / 414.6 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.115, allocations: 7.938 kB / 414.6 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.115, allocations: 0 / 414.6 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.1152, allocations: 205.5 kB / 414.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1153, allocations: 0 / 414.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.1153, allocations: 11.98 kB / 414.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1153, allocations: 0 / 414.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1153, allocations: 4 kB / 414.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1153, allocations: 0 / 414.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.1154, allocations: 7.938 kB / 414.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.1157, allocations: 221.8 kB / 415.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.1158, allocations: 97.05 kB / 415.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.1159, allocations: 11.97 kB / 415.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.1159, allocations: 4 kB / 415.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.116, allocations: 19.92 kB / 415.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.116, allocations: 7.984 kB / 415.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.1161, allocations: 132.2 kB / 415.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1161, allocations: 0 / 415.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1164, allocations: 43.94 kB / 415.4 MB, free: 15.3 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.0004717/0.1169, allocations: 213.6 kB / 415.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004295/0.1173, allocations: 184.5 kB / 415.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1173, allocations: 7.875 kB / 415.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.1175, allocations: 59.97 kB / 415.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.1177, allocations: 12.12 kB / 415.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.1182, allocations: 277.3 kB / 416.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1185, allocations: 0.708 MB / 416.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.1186, allocations: 15.44 kB / 416.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1186, allocations: 3.938 kB / 416.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of Templates: time 0.004793/0.1234, allocations: 2.31 MB / 419.1 MB, free: 11.5 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.713237137999386]