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.0009021/0.0009021, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001587/0.001587, allocations: 166.5 kB / 24.99 MB, free: 8.336 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 1.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.645 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 2.014e-06/2.014e-06, allocations: 0 / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.23e-05, allocations: 2.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002977/0.003, allocations: 1.869 MB / 274.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.005164, allocations: 1.27 MB / 276.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.005273, allocations: 3.938 kB / 276.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.005409, allocations: 15.75 kB / 276.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.005563, allocations: 39.64 kB / 276.3 MB, free: 14.61 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.0008886/0.006452, allocations: 326.8 kB / 276.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.006748, allocations: 223.4 kB / 276.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.006929, allocations: 48.55 kB / 276.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.007089, allocations: 131.7 kB / 277 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.007573, allocations: 111.1 kB / 277.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.007621, allocations: 20 kB / 277.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/0.008113, allocations: 319.3 kB / 277.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.008178, allocations: 59.77 kB / 277.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.089e-05/0.008269, allocations: 67.8 kB / 277.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005572/0.008826, allocations: 382.7 kB / 277.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.008829, allocations: 0 / 277.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00883, allocations: 0 / 277.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.008834, allocations: 4 kB / 277.9 MB, free: 12.96 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.0009448/0.009779, allocations: 0.6019 MB / 278.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.009819, allocations: 11.98 kB / 278.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.01006, allocations: 56.67 kB / 278.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.01032, allocations: 189 kB / 278.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.01035, allocations: 20.66 kB / 278.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.01039, allocations: 20.38 kB / 278.8 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.0107, allocations: 140.3 kB / 279 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.01072, allocations: 3.938 kB / 279 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.01074, allocations: 4 kB / 279 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.01075, allocations: 4 kB / 279 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.0109, allocations: 56.45 kB / 279 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.0118, allocations: 0.5116 MB / 279.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.0123, allocations: 159.3 kB / 279.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/0.0124, allocations: 47.7 kB / 279.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.01242, allocations: 4 kB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.01261, allocations: 100.9 kB / 279.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.356e-06/0.01261, allocations: 3.984 kB / 279.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004826/0.01309, allocations: 200.4 kB / 280 MB, free: 10.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.01315, allocations: 55.41 kB / 280.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.01336, allocations: 259 kB / 280.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.01339, allocations: 41.7 kB / 280.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.01349, allocations: 175.3 kB / 280.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.01355, allocations: 75.38 kB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.01366, allocations: 75.66 kB / 280.7 MB, free: 9.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.01381, allocations: 0.5001 MB / 281.2 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.01394, allocations: 55.72 kB / 281.3 MB, free: 9.426 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.0141, allocations: 87.27 kB / 281.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.01433, allocations: 133.1 kB / 281.5 MB, free: 9.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.01434, allocations: 0 / 281.5 MB, free: 9.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004126/0.01475, allocations: 243.9 kB / 281.7 MB, free: 8.949 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.01476, allocations: 4 kB / 281.7 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01477, allocations: 0 / 281.7 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.01479, allocations: 4 kB / 281.7 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.01511, allocations: 79.88 kB / 281.8 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.01512, allocations: 0 / 281.8 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.01524, allocations: 43.8 kB / 281.8 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.01526, allocations: 11.98 kB / 281.9 MB, free: 8.809 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.0001208/0.01538, allocations: 176.5 kB / 282 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.01542, allocations: 23.84 kB / 282 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.01548, allocations: 21.95 kB / 282.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.01548, allocations: 4 kB / 282.1 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01548, allocations: 0 / 282.1 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01549, allocations: 4 kB / 282.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.01608, allocations: 481 kB / 282.5 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01608, allocations: 0 / 282.5 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.01626, allocations: 43.95 kB / 282.6 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01626, allocations: 3.938 kB / 282.6 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.01629, allocations: 11.94 kB / 282.6 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01629, allocations: 0 / 282.6 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01629, allocations: 3.984 kB / 282.6 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.01675, allocations: 361.6 kB / 283 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.01678, allocations: 15.86 kB / 283 MB, free: 7.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.01682, allocations: 8 kB / 283 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.01695, allocations: 19.97 kB / 283 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.01702, allocations: 11.98 kB / 283 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.01704, allocations: 12.05 kB / 283 MB, free: 7.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.01715, allocations: 176.2 kB / 283.2 MB, free: 7.395 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01715, allocations: 0 / 283.2 MB, free: 7.395 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004316/0.01758, allocations: 111.7 kB / 283.3 MB, free: 7.285 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.0006235/0.0182, allocations: 282.1 kB / 283.6 MB, free: 7.039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.01854, allocations: 151.9 kB / 283.7 MB, free: 6.887 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01854, allocations: 0 / 283.7 MB, free: 6.887 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.01866, allocations: 58.25 kB / 283.8 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.01901, allocations: 39.94 kB / 283.8 MB, free: 6.789 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/0.01975, allocations: 395.2 kB / 284.2 MB, free: 6.367 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.277e-05/0.01981, allocations: 83.97 kB / 284.3 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.01992, allocations: 25.7 kB / 284.3 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.01999, allocations: 24.48 kB / 284.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01999, allocations: 0 / 284.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of Templates: time 0.007884/0.02788, allocations: 3.727 MB / 288.1 MB, free: 2.523 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: 3.8883495030459017]