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.0009018/0.0009018, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004987/0.004987, allocations: 157.7 kB / 24.7 MB, free: 8.891 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.8893/0.8893, allocations: 177 MB / 204.9 MB, free: 5.727 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.563e-06/1.563e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.413e-05, allocations: 7.125 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002109/0.002133, allocations: 1.817 MB / 327.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.003636, allocations: 1.242 MB / 328.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.003719, allocations: 3.938 kB / 328.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.003829, allocations: 19.73 kB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.003948, allocations: 31.72 kB / 328.9 MB, free: 12.21 MB / 298.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.0006524/0.004601, allocations: 330.8 kB / 329.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.004815, allocations: 227.4 kB / 329.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.00496, allocations: 48.34 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.005083, allocations: 135.6 kB / 329.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004649/0.005548, allocations: 95.67 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.005586, allocations: 20 kB / 329.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.006062, allocations: 323.2 kB / 330.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.006124, allocations: 55.81 kB / 330.1 MB, free: 11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.0062, allocations: 75.75 kB / 330.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.00671, allocations: 434.7 kB / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.006712, allocations: 0 / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.006713, allocations: 0 / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.006719, allocations: 0 / 330.6 MB, free: 10.5 MB / 298.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.0008174/0.007536, allocations: 0.5058 MB / 331.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.007573, allocations: 12.03 kB / 331.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.007735, allocations: 40.78 kB / 331.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.007929, allocations: 193.8 kB / 331.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.007952, allocations: 16.66 kB / 331.4 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.007982, allocations: 16.38 kB / 331.4 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.008283, allocations: 203.6 kB / 331.6 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.008292, allocations: 192 / 331.6 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.00831, allocations: 8.375 kB / 331.6 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.008319, allocations: 7.938 kB / 331.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.008578, allocations: 156.4 kB / 331.8 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006479/0.009226, allocations: 464.8 kB / 332.2 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.009799, allocations: 302.6 kB / 332.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.009952, allocations: 100.8 kB / 332.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.009972, allocations: 11.94 kB / 332.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.01021, allocations: 171.1 kB / 332.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.01021, allocations: 3.938 kB / 332.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005659/0.01078, allocations: 345.3 kB / 333.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.01082, allocations: 67.33 kB / 333.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.01095, allocations: 199.1 kB / 333.4 MB, free: 7.586 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.01097, allocations: 41.69 kB / 333.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.01104, allocations: 136.5 kB / 333.6 MB, free: 7.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.01108, allocations: 71.44 kB / 333.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.01116, allocations: 65.64 kB / 333.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.01124, allocations: 330.8 kB / 334 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.01143, allocations: 135.9 kB / 334.2 MB, free: 6.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.01163, allocations: 161.6 kB / 334.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.01198, allocations: 271.3 kB / 334.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01198, allocations: 4 kB / 334.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004521/0.01244, allocations: 372 kB / 334.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.01245, allocations: 7.984 kB / 335 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.01246, allocations: 7.938 kB / 335 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.01247, allocations: 0 / 335 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.01263, allocations: 63.89 kB / 335 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.01263, allocations: 7.984 kB / 335 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.099e-05/0.01271, allocations: 47.8 kB / 335.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01273, allocations: 4 kB / 335.1 MB, free: 5.852 MB / 298.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,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,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.0001006/0.01283, allocations: 157.6 kB / 335.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.01285, allocations: 19.86 kB / 335.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.01289, allocations: 25.89 kB / 335.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01289, allocations: 0 / 335.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.0129, allocations: 0 / 335.3 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.0129, allocations: 4 kB / 335.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.01348, allocations: 0.5282 MB / 335.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01349, allocations: 0 / 335.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.0136, allocations: 43.95 kB / 335.9 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01361, allocations: 7.938 kB / 335.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.01362, allocations: 4 kB / 335.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01362, allocations: 8 kB / 335.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01362, allocations: 3.938 kB / 335.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/0.01418, allocations: 483.1 kB / 336.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.0142, allocations: 19.84 kB / 336.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.01422, allocations: 8.062 kB / 336.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.01431, allocations: 19.97 kB / 336.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.01435, allocations: 15.97 kB / 336.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01436, allocations: 4 kB / 336.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.629e-05/0.01444, allocations: 140.3 kB / 336.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01444, allocations: 4 kB / 336.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.0147, allocations: 119.6 kB / 336.7 MB, free: 4.199 MB / 298.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.0004349/0.01514, allocations: 272.3 kB / 336.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.01556, allocations: 271.6 kB / 337.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01556, allocations: 0 / 337.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.01572, allocations: 118.2 kB / 337.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.01593, allocations: 16 kB / 337.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.01656, allocations: 472.2 kB / 337.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.2e-05/0.01666, allocations: 125.2 kB / 337.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.01672, allocations: 36.47 kB / 338 MB, free: 2.883 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01672, allocations: 0 / 338 MB, free: 2.883 MB / 298.7 MB Notification: Performance of Templates: time 0.004407/0.02112, allocations: 4.172 MB / 342.1 MB, free: 14.71 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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: 5.829588952474296]