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.001049/0.001049, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001194/0.001194, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 18.57 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.009/1.009, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.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 8.32e-07/8.32e-07, allocations: 0 / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.561e-05, allocations: 4.984 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002112/0.002128, allocations: 1.515 MB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.003155, allocations: 0.58 MB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.003215, allocations: 0 / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.003324, allocations: 7.875 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.324e-05/0.003397, allocations: 27.8 kB / 275.5 MB, free: 15.07 MB / 266.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.0009578/0.004355, allocations: 163.3 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.004497, allocations: 111.7 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.004538, allocations: 9.297 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.183e-05/0.00462, allocations: 63.81 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.005009, allocations: 71.19 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.005036, allocations: 12 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.005251, allocations: 143.7 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.005297, allocations: 35.84 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.005338, allocations: 31.91 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.00559, allocations: 187.4 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005592, allocations: 0 / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005592, allocations: 0 / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.005597, allocations: 0 / 276.3 MB, free: 14.27 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.0005257/0.006123, allocations: 487.6 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.006165, allocations: 15.98 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.006377, allocations: 48.75 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.006484, allocations: 153.1 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.006502, allocations: 8.359 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.006515, allocations: 8.375 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.006638, allocations: 81.58 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.006646, allocations: 192 / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.006656, allocations: 384 / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.006662, allocations: 4.375 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.006699, allocations: 19.86 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.007097, allocations: 328 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.007202, allocations: 82.09 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.007233, allocations: 35.42 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.007241, allocations: 0 / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.007367, allocations: 112.3 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 9.42e-07/0.007368, allocations: 3.938 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000227/0.007595, allocations: 150 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.007649, allocations: 89.05 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.007782, allocations: 225.8 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.007811, allocations: 49.69 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.007879, allocations: 151.3 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.007914, allocations: 47.67 kB / 278.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.007976, allocations: 67.55 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.008111, allocations: 0.504 MB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.008153, allocations: 24.5 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.395e-05/0.008217, allocations: 72.53 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.008319, allocations: 111.4 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008321, allocations: 0 / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000156/0.008477, allocations: 161.5 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.008487, allocations: 7.938 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.008493, allocations: 8.062 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.008504, allocations: 0 / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.008604, allocations: 39.92 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.00861, allocations: 7.984 kB / 279.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.008654, allocations: 23.83 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.008666, allocations: 11.94 kB / 279.4 MB, free: 10.9 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,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.395e-05/0.00876, allocations: 180.6 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.008777, allocations: 19.89 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.008802, allocations: 21.41 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008804, allocations: 4 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.008806, allocations: 0 / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008809, allocations: 0 / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.306e-05/0.008902, allocations: 129.1 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008903, allocations: 0 / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.008918, allocations: 4 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.008921, allocations: 7.984 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.008927, allocations: 0 / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.008928, allocations: 0 / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.00893, allocations: 11.94 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.009069, allocations: 174.9 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.009084, allocations: 19.83 kB / 279.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.009101, allocations: 12 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.009123, allocations: 4 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.009155, allocations: 15.91 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.009159, allocations: 0 / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.244e-05/0.009212, allocations: 155.1 kB / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.009212, allocations: 0 / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.009386, allocations: 47.92 kB / 280.1 MB, free: 10.05 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.0003217/0.009707, allocations: 209.9 kB / 280.4 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.009841, allocations: 99.55 kB / 280.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.009843, allocations: 8.062 kB / 280.5 MB, free: 9.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.009879, allocations: 35.66 kB / 280.5 MB, free: 9.715 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.01002, allocations: 19.92 kB / 280.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.01029, allocations: 241.8 kB / 280.8 MB, free: 9.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.425e-05/0.01033, allocations: 71.33 kB / 280.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.694e-05/0.01036, allocations: 17.03 kB / 280.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.01042, allocations: 86.2 kB / 280.9 MB, free: 9.234 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01042, allocations: 4 kB / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of Templates: time 0.004135/0.01456, allocations: 2.436 MB / 283.4 MB, free: 6.812 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.808519992046058]