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.001914/0.001914, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.002067/0.002067, allocations: 160.8 kB / 24.27 MB, free: 152 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 1.568/1.568, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.353e-06/1.353e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.188e-05/4.323e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004013/0.004056, allocations: 1.844 MB / 274.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.006922, allocations: 1.262 MB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.007049, allocations: 3.938 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.007213, allocations: 23.73 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.007387, allocations: 27.72 kB / 275.4 MB, free: 14.59 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.001128/0.008515, allocations: 334.8 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005695/0.009084, allocations: 219.4 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.009295, allocations: 48.55 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.009519, allocations: 135.6 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007673/0.01029, allocations: 111.5 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.01035, allocations: 24 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007267/0.01107, allocations: 323.3 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.048e-05/0.01116, allocations: 51.77 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.01129, allocations: 75.73 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009209/0.01221, allocations: 442.7 kB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.01221, allocations: 0 / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.01222, allocations: 0 / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.01222, allocations: 0 / 277.1 MB, free: 12.87 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.001432/0.01365, allocations: 0.6093 MB / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.01371, allocations: 12.03 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003252/0.01403, allocations: 48.78 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.01435, allocations: 192.8 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.01438, allocations: 12.66 kB / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.01443, allocations: 20.38 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.01494, allocations: 176.1 kB / 278.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.01495, allocations: 192 / 278.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.01498, allocations: 8.375 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.01498, allocations: 3.938 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.01545, allocations: 140.5 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.01674, allocations: 0.5351 MB / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.01794, allocations: 299.1 kB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.01825, allocations: 107.6 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.01829, allocations: 4 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000502/0.01879, allocations: 160.8 kB / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.355e-06/0.01879, allocations: 0 / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.00117/0.01996, allocations: 328.8 kB / 279.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.02004, allocations: 67.28 kB / 279.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.02038, allocations: 278.4 kB / 280.1 MB, free: 9.742 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.02044, allocations: 41.69 kB / 280.1 MB, free: 9.695 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.02063, allocations: 187.3 kB / 280.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.02074, allocations: 71.44 kB / 280.4 MB, free: 9.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.02089, allocations: 87.61 kB / 280.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003286/0.02122, allocations: 0.5157 MB / 281 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.02156, allocations: 111.7 kB / 281.1 MB, free: 8.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.02195, allocations: 151.3 kB / 281.2 MB, free: 8.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006399/0.02259, allocations: 237 kB / 281.4 MB, free: 8.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.02259, allocations: 0 / 281.4 MB, free: 8.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008942/0.02349, allocations: 351.8 kB / 281.8 MB, free: 7.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.02351, allocations: 4 kB / 281.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.02352, allocations: 7.938 kB / 281.8 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.02354, allocations: 0 / 281.8 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.02389, allocations: 75.89 kB / 281.9 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.0239, allocations: 8.031 kB / 281.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.02408, allocations: 43.69 kB / 281.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.02411, allocations: 12 kB / 281.9 MB, free: 7.812 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.0002052/0.02432, allocations: 184.5 kB / 282.1 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.02436, allocations: 19.91 kB / 282.1 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/0.02444, allocations: 25.91 kB / 282.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.02444, allocations: 4 kB / 282.2 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.02445, allocations: 4 kB / 282.2 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.02446, allocations: 3.984 kB / 282.2 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.0257, allocations: 0.5753 MB / 282.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.0257, allocations: 0 / 282.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.02594, allocations: 39.97 kB / 282.8 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.02594, allocations: 4 kB / 282.8 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.02597, allocations: 7.984 kB / 282.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02597, allocations: 0 / 282.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.02598, allocations: 7.875 kB / 282.8 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.02708, allocations: 0.5034 MB / 283.3 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.02712, allocations: 19.84 kB / 283.3 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.02716, allocations: 8 kB / 283.3 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.02734, allocations: 23.97 kB / 283.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.02741, allocations: 7.984 kB / 283.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.02742, allocations: 11.98 kB / 283.4 MB, free: 6.297 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001921/0.02762, allocations: 192.2 kB / 283.6 MB, free: 6.109 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02762, allocations: 0 / 283.6 MB, free: 6.109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004888/0.0281, allocations: 107.7 kB / 283.7 MB, free: 6.004 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.0009201/0.02902, allocations: 294.4 kB / 284 MB, free: 5.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007998/0.02982, allocations: 267.1 kB / 284.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.02983, allocations: 0 / 284.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.03015, allocations: 112.5 kB / 284.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.03051, allocations: 27.98 kB / 284.4 MB, free: 5.332 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.0317, allocations: 451.2 kB / 284.8 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.03185, allocations: 125.2 kB / 284.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.03197, allocations: 29.62 kB / 284.9 MB, free: 4.684 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.559e-05/0.03205, allocations: 28.48 kB / 285 MB, free: 4.656 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.03205, allocations: 0 / 285 MB, free: 4.656 MB / 266.7 MB Notification: Performance of Templates: time 0.009738/0.04179, allocations: 3.723 MB / 288.7 MB, free: 0.9688 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","/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.628092759056017]