Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001013/0.001013, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001171/0.001171, allocations: 166.8 kB / 25.61 MB, free: 8.582 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 0.9792/0.9792, allocations: 177 MB / 205.9 MB, free: 4.465 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.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.249e-05, allocations: 5.234 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002519/0.002541, allocations: 1.859 MB / 276 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.004269, allocations: 1.261 MB / 277.3 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.958e-05/0.004369, allocations: 4 kB / 277.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.004482, allocations: 20.39 kB / 277.3 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.004607, allocations: 36.19 kB / 277.3 MB, free: 1.086 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.0007256/0.005333, allocations: 331.4 kB / 277.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.005546, allocations: 223.4 kB / 277.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.005674, allocations: 52.53 kB / 277.9 MB, free: 500 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.005795, allocations: 131.7 kB / 278 MB, free: 368 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.006137, allocations: 95.59 kB / 278.1 MB, free: 280 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.006175, allocations: 20 kB / 278.1 MB, free: 260 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.006575, allocations: 327.2 kB / 278.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.006629, allocations: 55.81 kB / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.006687, allocations: 67.75 kB / 278.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.007109, allocations: 386.8 kB / 279 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.007111, allocations: 0 / 279 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007112, allocations: 0 / 279 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.007117, allocations: 0 / 279 MB, free: 15.43 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007204/0.007837, allocations: 0.6018 MB / 279.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.007874, allocations: 12.03 kB / 279.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.008049, allocations: 48.73 kB / 279.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.00824, allocations: 197.5 kB / 279.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.008262, allocations: 12.66 kB / 279.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.008293, allocations: 20.38 kB / 279.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.008483, allocations: 131.5 kB / 280 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.008491, allocations: 192 / 280 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.008504, allocations: 4.375 kB / 280 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.008511, allocations: 7.938 kB / 280 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.008588, allocations: 48.45 kB / 280 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.009184, allocations: 488.5 kB / 280.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.009503, allocations: 151.3 kB / 280.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.009556, allocations: 39.66 kB / 280.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.009571, allocations: 8 kB / 280.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.009699, allocations: 99.97 kB / 280.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.0097, allocations: 4 kB / 280.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002625/0.009963, allocations: 165.4 kB / 281 MB, free: 13.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.01, allocations: 63.34 kB / 281 MB, free: 13.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.01014, allocations: 246.5 kB / 281.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.01017, allocations: 37.69 kB / 281.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.01025, allocations: 179.3 kB / 281.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.01029, allocations: 75.41 kB / 281.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.01037, allocations: 79.25 kB / 281.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.0105, allocations: 0.5079 MB / 282.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.01057, allocations: 40.28 kB / 282.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.293e-05/0.01065, allocations: 75.69 kB / 282.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.01078, allocations: 121 kB / 282.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01078, allocations: 0 / 282.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002475/0.01103, allocations: 207.9 kB / 282.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.01104, allocations: 8 kB / 282.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.01105, allocations: 0 / 282.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.01106, allocations: 3.938 kB / 282.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.01124, allocations: 91.89 kB / 282.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.01125, allocations: 0 / 282.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.01133, allocations: 35.81 kB / 282.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.01135, allocations: 15.92 kB / 282.7 MB, free: 11.45 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001121/0.01146, allocations: 168.6 kB / 282.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.01149, allocations: 27.8 kB / 282.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.01152, allocations: 29.95 kB / 283 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01153, allocations: 3.938 kB / 283 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01153, allocations: 0 / 283 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01153, allocations: 0 / 283 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.01193, allocations: 437.8 kB / 283.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.01193, allocations: 0 / 283.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.01205, allocations: 47.89 kB / 283.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01205, allocations: 0 / 283.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.01206, allocations: 0 / 283.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01207, allocations: 8 kB / 283.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01207, allocations: 0 / 283.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.0124, allocations: 344.2 kB / 283.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.01241, allocations: 19.89 kB / 283.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.01244, allocations: 8 kB / 283.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.01252, allocations: 19.97 kB / 283.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.01256, allocations: 11.98 kB / 283.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.01257, allocations: 7.984 kB / 283.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.541e-05/0.01263, allocations: 172 kB / 284 MB, free: 10.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01263, allocations: 7.938 kB / 284 MB, free: 10.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.01291, allocations: 111.6 kB / 284.1 MB, free: 9.996 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004445/0.01335, allocations: 286.7 kB / 284.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.01355, allocations: 135.8 kB / 284.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01355, allocations: 0 / 284.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-05/0.01362, allocations: 51.59 kB / 284.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.01384, allocations: 35.72 kB / 284.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.01433, allocations: 394.6 kB / 285 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.01437, allocations: 83.92 kB / 285.1 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.66e-05/0.01445, allocations: 29.62 kB / 285.1 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.01456, allocations: 106.2 kB / 285.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01456, allocations: 0 / 285.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of Templates: time 0.007086/0.02164, allocations: 4.208 MB / 289.4 MB, free: 4.711 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.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: 3.752169493585825]