Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009802/0.0009802, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 169.9 kB / 24.91 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8975/0.8975, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.612e-05, allocations: 2.312 kB / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002101/0.002117, allocations: 1.865 MB / 275.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.003673, allocations: 1.297 MB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.003746, allocations: 4 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.003847, allocations: 15.75 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.003955, allocations: 35.66 kB / 276.7 MB, free: 14.07 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.0005947/0.00455, allocations: 334.8 kB / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.00473, allocations: 219.4 kB / 277.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.004835, allocations: 46.52 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.004948, allocations: 143.6 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/0.005312, allocations: 106.1 kB / 277.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.005348, allocations: 24 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.005684, allocations: 319.2 kB / 277.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.005734, allocations: 55.81 kB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.005793, allocations: 79.75 kB / 278 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.006174, allocations: 374.8 kB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.006175, allocations: 0 / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006176, allocations: 4 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.00618, allocations: 0 / 278.3 MB, free: 12.41 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.0005931/0.006773, allocations: 484.6 kB / 278.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.006802, allocations: 11.98 kB / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.006949, allocations: 48.84 kB / 278.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.007104, allocations: 174.1 kB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.007122, allocations: 12.66 kB / 279 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.007154, allocations: 24.38 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.007333, allocations: 127.2 kB / 279.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.007341, allocations: 3.938 kB / 279.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.007353, allocations: 7.938 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.007358, allocations: 4 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.007427, allocations: 45.03 kB / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.007918, allocations: 354.1 kB / 279.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.008204, allocations: 178.4 kB / 279.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.008248, allocations: 32.84 kB / 279.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.008263, allocations: 12 kB / 279.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.008374, allocations: 105 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.744e-06/0.008376, allocations: 0 / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001827/0.008559, allocations: 113.6 kB / 280 MB, free: 10.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.008595, allocations: 59.41 kB / 280.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.0087, allocations: 199.7 kB / 280.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.008723, allocations: 41.64 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.008774, allocations: 128.5 kB / 280.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.008812, allocations: 71.47 kB / 280.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.008876, allocations: 65.95 kB / 280.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.008949, allocations: 334.8 kB / 280.9 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.009012, allocations: 42.55 kB / 281 MB, free: 9.637 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-05/0.009077, allocations: 65.41 kB / 281 MB, free: 9.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.009197, allocations: 117 kB / 281.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.009198, allocations: 0 / 281.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001763/0.009375, allocations: 174.9 kB / 281.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.009386, allocations: 6.812 kB / 281.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.009391, allocations: 3.938 kB / 281.3 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.009403, allocations: 4 kB / 281.3 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.009567, allocations: 79.92 kB / 281.4 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.009571, allocations: 3.938 kB / 281.4 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.009643, allocations: 43.75 kB / 281.4 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.009657, allocations: 8 kB / 281.4 MB, free: 9.121 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 8.458e-05/0.009741, allocations: 136.6 kB / 281.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.009762, allocations: 11.98 kB / 281.6 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.009799, allocations: 25.97 kB / 281.6 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.009801, allocations: 4 kB / 281.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.009804, allocations: 3.938 kB / 281.6 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.009808, allocations: 0 / 281.6 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.01013, allocations: 354.4 kB / 282 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01013, allocations: 0 / 282 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.01024, allocations: 43.95 kB / 282 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01024, allocations: 0 / 282 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.01025, allocations: 12 kB / 282 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01025, allocations: 0 / 282 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01025, allocations: 0 / 282 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.01047, allocations: 300.9 kB / 282.3 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.01049, allocations: 11.91 kB / 282.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.01051, allocations: 11.98 kB / 282.3 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.01058, allocations: 15.98 kB / 282.4 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.01062, allocations: 19.91 kB / 282.4 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.01062, allocations: 4 kB / 282.4 MB, free: 8.133 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.131e-05/0.01067, allocations: 65.83 kB / 282.4 MB, free: 8.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01067, allocations: 0 / 282.4 MB, free: 8.066 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.0109, allocations: 103.7 kB / 282.5 MB, free: 7.965 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.0004537/0.01135, allocations: 298.5 kB / 282.8 MB, free: 7.711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.01152, allocations: 112.7 kB / 283 MB, free: 7.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01152, allocations: 0 / 283 MB, free: 7.598 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.853e-05/0.01158, allocations: 48.78 kB / 283 MB, free: 7.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.01175, allocations: 39.84 kB / 283 MB, free: 7.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.01223, allocations: 387.4 kB / 283.4 MB, free: 7.098 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.89e-05/0.01228, allocations: 79.98 kB / 283.5 MB, free: 7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.102e-05/0.01235, allocations: 29.62 kB / 283.5 MB, free: 6.973 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.951e-05/0.01245, allocations: 83.36 kB / 283.6 MB, free: 6.891 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01245, allocations: 0 / 283.6 MB, free: 6.891 MB / 266.7 MB Notification: Performance of Templates: time 0.00559/0.01804, allocations: 4.074 MB / 287.7 MB, free: 2.855 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 2.927410200238228]