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.00101/0.00101, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.0009571/0.0009571, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.984/0.984, allocations: 177 MB / 204.8 MB, free: 5.602 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.725e-06/2.725e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.375e-05/4.648e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004002/0.004048, allocations: 1.875 MB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.006342, allocations: 1.278 MB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.006475, allocations: 4 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.006639, allocations: 19.73 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.006838, allocations: 35.66 kB / 276.1 MB, free: 14.21 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.001261/0.008099, allocations: 330.8 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.008411, allocations: 223.4 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.008579, allocations: 48.53 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.00875, allocations: 131.7 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.009296, allocations: 102.2 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.414e-05/0.00938, allocations: 24 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005893/0.009969, allocations: 323.2 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.01005, allocations: 59.81 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.355e-05/0.01013, allocations: 71.75 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007092/0.01084, allocations: 378.8 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.01085, allocations: 0 / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.01085, allocations: 0 / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.01086, allocations: 0 / 277.8 MB, free: 12.55 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.001006/0.01186, allocations: 0.6019 MB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.01191, allocations: 12.03 kB / 278.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.01219, allocations: 52.67 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.01245, allocations: 197.6 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.01248, allocations: 12.66 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.01252, allocations: 20.38 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.01279, allocations: 136.1 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.0128, allocations: 192 / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.01281, allocations: 8.359 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.01283, allocations: 11.88 kB / 278.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.01295, allocations: 60.45 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.01378, allocations: 0.5116 MB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.01422, allocations: 163.3 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.0143, allocations: 46.94 kB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.01432, allocations: 4 kB / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.01454, allocations: 112.9 kB / 279.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.417e-06/0.01454, allocations: 0 / 279.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004384/0.01498, allocations: 176.9 kB / 279.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.01504, allocations: 67.34 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.01523, allocations: 254.4 kB / 280.2 MB, free: 9.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.01526, allocations: 37.7 kB / 280.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.01536, allocations: 183.3 kB / 280.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.01541, allocations: 71.39 kB / 280.5 MB, free: 9.672 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/0.01551, allocations: 75.66 kB / 280.6 MB, free: 9.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.01568, allocations: 0.5079 MB / 281.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.0158, allocations: 47.72 kB / 281.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.01592, allocations: 87.31 kB / 281.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.01612, allocations: 133 kB / 281.3 MB, free: 8.789 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01613, allocations: 0 / 281.3 MB, free: 8.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000318/0.01644, allocations: 231.9 kB / 281.6 MB, free: 8.559 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.01647, allocations: 7.984 kB / 281.6 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.01648, allocations: 7.938 kB / 281.6 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.01651, allocations: 4.031 kB / 281.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.01672, allocations: 75.89 kB / 281.7 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.01673, allocations: 4 kB / 281.7 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.443e-05/0.01683, allocations: 43.69 kB / 281.7 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.01685, allocations: 12 kB / 281.7 MB, free: 8.406 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.0001472/0.017, allocations: 176.5 kB / 281.9 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.01704, allocations: 23.89 kB / 281.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.01709, allocations: 25.91 kB / 281.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.0171, allocations: 0 / 281.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.01711, allocations: 4 kB / 281.9 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01711, allocations: 0 / 281.9 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.0177, allocations: 492.3 kB / 282.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.0177, allocations: 0 / 282.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.01784, allocations: 39.91 kB / 282.5 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.01784, allocations: 8 kB / 282.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.01787, allocations: 7.984 kB / 282.5 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01787, allocations: 0 / 282.5 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.01787, allocations: 3.938 kB / 282.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.01825, allocations: 347.7 kB / 282.8 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.01828, allocations: 23.8 kB / 282.8 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.01832, allocations: 11.98 kB / 282.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.0184, allocations: 15.98 kB / 282.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.01847, allocations: 19.95 kB / 282.9 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.01848, allocations: 8 kB / 282.9 MB, free: 7.156 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.01858, allocations: 176.2 kB / 283.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01858, allocations: 0 / 283.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000404/0.01899, allocations: 103.7 kB / 283.2 MB, free: 6.883 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.0007263/0.01971, allocations: 284.8 kB / 283.5 MB, free: 6.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.02006, allocations: 151.2 kB / 283.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02006, allocations: 0 / 283.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.747e-05/0.02016, allocations: 58.94 kB / 283.7 MB, free: 6.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.02045, allocations: 36.11 kB / 283.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008226/0.02127, allocations: 399.1 kB / 284.1 MB, free: 5.945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.148e-05/0.02134, allocations: 79.84 kB / 284.2 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.02144, allocations: 29.62 kB / 284.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.02151, allocations: 24.5 kB / 284.2 MB, free: 5.793 MB / 266.7 MB Notification: Performance of SimCode: time 1.653e-06/0.02151, allocations: 0 / 284.2 MB, free: 5.793 MB / 266.7 MB Notification: Performance of Templates: time 0.007996/0.02951, allocations: 4.097 MB / 288.3 MB, free: 1.73 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.644481362774968]