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.001558/0.001558, allocations: 75.7 kB / 21.7 MB, free: 2.844 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.001668/0.001668, allocations: 162.6 kB / 24.99 MB, free: 9.332 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.04/1.04, allocations: 177 MB / 205.2 MB, free: 5.211 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 2.224e-06/2.224e-06, allocations: 0 / 273 MB, free: 1.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.532e-05, allocations: 2.312 kB / 273 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003145/0.00317, allocations: 1.873 MB / 274.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.005453, allocations: 1.274 MB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.005582, allocations: 4 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.005714, allocations: 19.73 kB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.005868, allocations: 35.66 kB / 276.2 MB, free: 14.36 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.0009231/0.006791, allocations: 322.8 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.007063, allocations: 223.4 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.007223, allocations: 52.53 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.007393, allocations: 135.7 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004649/0.007858, allocations: 101.7 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.007905, allocations: 23.94 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005024/0.008408, allocations: 319.3 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.812e-05/0.008486, allocations: 59.81 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.829e-05/0.008574, allocations: 67.75 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.009155, allocations: 378.8 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.009157, allocations: 4 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.009158, allocations: 0 / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.009163, allocations: 4 kB / 277.9 MB, free: 12.7 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.00099/0.01015, allocations: 0.598 MB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.01019, allocations: 8.031 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.01045, allocations: 56.67 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.01071, allocations: 189.6 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.01074, allocations: 16.66 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.01079, allocations: 24.38 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.01111, allocations: 140 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.01112, allocations: 192 / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.01114, allocations: 8.375 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.01116, allocations: 7.938 kB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.01132, allocations: 52.45 kB / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009264/0.01224, allocations: 0.5155 MB / 279.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.01277, allocations: 159.3 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.01288, allocations: 51.66 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.01289, allocations: 0 / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.01309, allocations: 108.9 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.0131, allocations: 0 / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004526/0.01355, allocations: 188.9 kB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.0136, allocations: 59.34 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.01381, allocations: 254.4 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.01385, allocations: 41.69 kB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01395, allocations: 183.3 kB / 280.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.01401, allocations: 71.39 kB / 280.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.01412, allocations: 71.66 kB / 280.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.01428, allocations: 0.504 MB / 281.1 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.01443, allocations: 55.72 kB / 281.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.01458, allocations: 91.25 kB / 281.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.01483, allocations: 129.1 kB / 281.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01483, allocations: 0 / 281.4 MB, free: 8.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004262/0.01526, allocations: 231.9 kB / 281.6 MB, free: 8.711 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.01528, allocations: 8 kB / 281.7 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.01529, allocations: 7.922 kB / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.0153, allocations: 0 / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.01558, allocations: 75.89 kB / 281.7 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.01559, allocations: 4 kB / 281.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.01572, allocations: 55.72 kB / 281.8 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.01575, allocations: 4 kB / 281.8 MB, free: 8.559 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,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.0001281/0.01587, allocations: 180.5 kB / 282 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.01592, allocations: 19.89 kB / 282 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.01597, allocations: 25.91 kB / 282 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01597, allocations: 4 kB / 282 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01598, allocations: 0 / 282 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01598, allocations: 4 kB / 282 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.01662, allocations: 489 kB / 282.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01662, allocations: 0 / 282.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.01681, allocations: 39.97 kB / 282.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01681, allocations: 0 / 282.5 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.01684, allocations: 7.984 kB / 282.5 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.01684, allocations: 4 kB / 282.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01684, allocations: 3.938 kB / 282.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.01731, allocations: 355.6 kB / 282.9 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.01733, allocations: 15.86 kB / 282.9 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.01737, allocations: 11.98 kB / 282.9 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.01751, allocations: 15.98 kB / 282.9 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.01757, allocations: 15.97 kB / 283 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.01759, allocations: 4 kB / 283 MB, free: 7.316 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001178/0.01771, allocations: 172.2 kB / 283.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01771, allocations: 4 kB / 283.1 MB, free: 7.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004465/0.01815, allocations: 103.7 kB / 283.2 MB, free: 7.043 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.000636/0.01879, allocations: 300 kB / 283.5 MB, free: 6.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.01914, allocations: 156.3 kB / 283.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01914, allocations: 0 / 283.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.01927, allocations: 59.59 kB / 283.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.01962, allocations: 27.98 kB / 283.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007359/0.02036, allocations: 395.2 kB / 284.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.417e-05/0.02042, allocations: 83.84 kB / 284.2 MB, free: 6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.02053, allocations: 25.69 kB / 284.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.0206, allocations: 24.5 kB / 284.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.0206, allocations: 4 kB / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of Templates: time 0.007751/0.02836, allocations: 3.725 MB / 288 MB, free: 2.258 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.859297150047496]