Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001975/0.003268, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002546, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.081/1.081, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.188, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.108e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002109/0.00213, allocations: 1.567 MB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008182/0.002948, allocations: 0.5923 MB / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.002998, allocations: 0 / 247.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.93e-05/0.003058, allocations: 11.88 kB / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.974e-05/0.003117, allocations: 23.8 kB / 247.4 MB, free: 11.36 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0004206/0.003538, allocations: 139.3 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.003677, allocations: 115.6 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.003718, allocations: 9.969 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.003832, allocations: 83.86 kB / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004166/0.004249, allocations: 89.8 kB / 247.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.004284, allocations: 8 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.004691, allocations: 147.7 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.004742, allocations: 23.92 kB / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.004777, allocations: 23.94 kB / 248 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.005054, allocations: 171.3 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.557e-05/0.00507, allocations: 0 / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.005072, allocations: 0 / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.005081, allocations: 0 / 248.2 MB, free: 10.57 MB / 250.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.0004808/0.005562, allocations: 379.6 kB / 248.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.005596, allocations: 12.62 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.005834, allocations: 122 kB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.005952, allocations: 154.3 kB / 248.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.005971, allocations: 4.375 kB / 248.9 MB, free: 9.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.005986, allocations: 8.359 kB / 248.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.006111, allocations: 82.69 kB / 249 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.006118, allocations: 192 / 249 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.006125, allocations: 384 / 249 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.00615, allocations: 12.36 kB / 249 MB, free: 9.727 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.331e-05/0.006183, allocations: 21.59 kB / 249 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.006494, allocations: 218.7 kB / 249.2 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.006606, allocations: 105 kB / 249.3 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.006628, allocations: 17.7 kB / 249.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.006635, allocations: 4 kB / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.006773, allocations: 107.5 kB / 249.4 MB, free: 9.199 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.006774, allocations: 0 / 249.4 MB, free: 9.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001539/0.006928, allocations: 103.2 kB / 249.5 MB, free: 9.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.006987, allocations: 89.11 kB / 249.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.007093, allocations: 178.5 kB / 249.8 MB, free: 8.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.007121, allocations: 45.69 kB / 249.8 MB, free: 8.746 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.007171, allocations: 100.6 kB / 249.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.007206, allocations: 51.53 kB / 250 MB, free: 8.594 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.007263, allocations: 49.91 kB / 250 MB, free: 8.535 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.007351, allocations: 334.8 kB / 250.4 MB, free: 8.199 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/0.007404, allocations: 31.33 kB / 250.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.007458, allocations: 60.06 kB / 250.5 MB, free: 8.098 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.007561, allocations: 100.6 kB / 250.5 MB, free: 7.988 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.007564, allocations: 0 / 250.5 MB, free: 7.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001513/0.007715, allocations: 144.3 kB / 250.7 MB, free: 7.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.00773, allocations: 4 kB / 250.7 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.00774, allocations: 3.984 kB / 250.7 MB, free: 7.832 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.007756, allocations: 7.938 kB / 250.7 MB, free: 7.824 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.007876, allocations: 39.98 kB / 250.7 MB, free: 7.785 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.007881, allocations: 4 kB / 250.7 MB, free: 7.781 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.54e-05/0.007916, allocations: 15.89 kB / 250.8 MB, free: 7.766 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.007929, allocations: 11.92 kB / 250.8 MB, free: 7.754 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.9e-05/0.008028, allocations: 144.8 kB / 250.9 MB, free: 7.602 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.008046, allocations: 11.98 kB / 250.9 MB, free: 7.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.008071, allocations: 13.47 kB / 250.9 MB, free: 7.582 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.008074, allocations: 3.938 kB / 250.9 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.008077, allocations: 0 / 250.9 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.008082, allocations: 3.984 kB / 250.9 MB, free: 7.574 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.008188, allocations: 89.83 kB / 251 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008189, allocations: 0 / 251 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.008212, allocations: 11.92 kB / 251 MB, free: 7.457 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.008229, allocations: 19.83 kB / 251.1 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.008233, allocations: 8 kB / 251.1 MB, free: 7.43 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.008243, allocations: 11.94 kB / 251.1 MB, free: 7.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.008244, allocations: 0 / 251.1 MB, free: 7.418 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.008247, allocations: 3.938 kB / 251.1 MB, free: 7.414 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.008384, allocations: 110.4 kB / 251.2 MB, free: 7.281 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.008406, allocations: 12 kB / 251.2 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.042e-05/0.008427, allocations: 3.984 kB / 251.2 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.008472, allocations: 15.86 kB / 251.2 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.008479, allocations: 4 kB / 251.2 MB, free: 7.246 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.07e-05/0.00853, allocations: 44.8 kB / 251.3 MB, free: 7.199 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00853, allocations: 4 kB / 251.3 MB, free: 7.195 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000222/0.008752, allocations: 47.92 kB / 251.3 MB, free: 7.148 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.0004788/0.009231, allocations: 227.2 kB / 251.6 MB, free: 6.961 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.009393, allocations: 88.75 kB / 251.6 MB, free: 6.871 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.009403, allocations: 8 kB / 251.6 MB, free: 6.863 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.009454, allocations: 28.78 kB / 251.7 MB, free: 6.832 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.009611, allocations: 27.92 kB / 251.7 MB, free: 6.805 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.01013, allocations: 246.2 kB / 251.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.01e-05/0.01017, allocations: 71.39 kB / 252 MB, free: 6.441 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.143e-05/0.01023, allocations: 24.95 kB / 252 MB, free: 6.41 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.675e-05/0.01029, allocations: 67.36 kB / 252.1 MB, free: 6.344 MB / 250.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01029, allocations: 0 / 252.1 MB, free: 6.344 MB / 250.7 MB Notification: Performance of Templates: time 0.004467/0.01476, allocations: 2.388 MB / 254.5 MB, free: 3.977 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.634255581535399]