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.002005/0.002005, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001463/0.001463, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.472/1.472, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.174e-06/2.174e-06, allocations: 0.7031 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.663e-05, allocations: 3.5 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002892/0.002918, allocations: 1.473 MB / 326.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.004322, allocations: 0.5797 MB / 327.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.004382, allocations: 1.094 kB / 327.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.004486, allocations: 9.844 kB / 327.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.221e-05/0.004578, allocations: 27.67 kB / 327.1 MB, free: 15.07 MB / 302.1 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.0006562/0.005234, allocations: 152.5 kB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.005439, allocations: 119 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.005491, allocations: 6.844 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.005609, allocations: 64.52 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006504/0.006259, allocations: 70.62 kB / 327.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.006293, allocations: 10.5 kB / 327.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.006642, allocations: 139.7 kB / 327.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.006712, allocations: 28.55 kB / 327.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.006781, allocations: 39.66 kB / 327.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.007204, allocations: 212.6 kB / 327.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.007208, allocations: 0 / 327.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.007209, allocations: 0 / 327.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.007215, allocations: 1.766 kB / 327.9 MB, free: 14.72 MB / 302.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.0007694/0.007984, allocations: 384.4 kB / 328.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.008026, allocations: 17.81 kB / 328.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.008368, allocations: 34.67 kB / 328.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.008555, allocations: 149.3 kB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.008581, allocations: 8.156 kB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.008605, allocations: 6.969 kB / 328.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.008883, allocations: 112.3 kB / 328.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.008893, allocations: 192 / 328.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.008906, allocations: 2.25 kB / 328.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.008912, allocations: 1.438 kB / 328.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.009109, allocations: 63.14 kB / 328.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.009802, allocations: 299.1 kB / 329 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.01017, allocations: 122.2 kB / 329.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.0103, allocations: 59.2 kB / 329.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.01032, allocations: 1.219 kB / 329.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003057/0.01062, allocations: 141.2 kB / 329.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.01063, allocations: 0 / 329.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006347/0.01126, allocations: 234.6 kB / 329.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.01134, allocations: 92.52 kB / 329.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.01155, allocations: 174 kB / 329.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.0116, allocations: 49.58 kB / 329.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.01169, allocations: 107.6 kB / 329.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.01174, allocations: 43.25 kB / 330 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.01186, allocations: 65.56 kB / 330.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.01205, allocations: 329.8 kB / 330.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.01227, allocations: 93.34 kB / 330.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.01251, allocations: 132.9 kB / 330.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.01293, allocations: 208.2 kB / 330.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01293, allocations: 1.094 kB / 330.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005709/0.0135, allocations: 293.4 kB / 331.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.01352, allocations: 5.562 kB / 331.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.01353, allocations: 2.156 kB / 331.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.01356, allocations: 2.25 kB / 331.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.01373, allocations: 32.3 kB / 331.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.01373, allocations: 1.188 kB / 331.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/0.01382, allocations: 30.67 kB / 331.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.01385, allocations: 9.812 kB / 331.2 MB, free: 12.51 MB / 302.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.0001749/0.01402, allocations: 143.3 kB / 331.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.01405, allocations: 13.48 kB / 331.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.01409, allocations: 16.72 kB / 331.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01409, allocations: 1.062 kB / 331.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.0141, allocations: 1.125 kB / 331.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.01411, allocations: 5.047 kB / 331.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.01431, allocations: 143.9 kB / 331.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01431, allocations: 1.062 kB / 331.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.01436, allocations: 18.39 kB / 331.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01437, allocations: 0 / 331.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.01438, allocations: 6.031 kB / 331.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.01439, allocations: 1.062 kB / 331.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.01439, allocations: 5.062 kB / 331.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.0148, allocations: 219.6 kB / 331.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.01483, allocations: 12.44 kB / 331.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.01488, allocations: 22.64 kB / 331.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.01495, allocations: 4.562 kB / 331.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.01501, allocations: 13.03 kB / 331.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.01502, allocations: 2.344 kB / 331.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.01515, allocations: 126.5 kB / 331.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01515, allocations: 0 / 331.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.01548, allocations: 47.48 kB / 332 MB, free: 11.9 MB / 302.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.000562/0.01604, allocations: 225.1 kB / 332.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004413/0.01648, allocations: 174.7 kB / 332.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01648, allocations: 0 / 332.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.01663, allocations: 55.72 kB / 332.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.01682, allocations: 7.656 kB / 332.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.01738, allocations: 255.5 kB / 332.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.01748, allocations: 98.61 kB / 332.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.823e-05/0.01754, allocations: 15 kB / 332.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.01759, allocations: 18.25 kB / 332.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.01759, allocations: 4 kB / 332.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of Templates: time 0.006501/0.02409, allocations: 2.053 MB / 334.8 MB, free: 10.27 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.3641226924955845]