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.002072/0.002072, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.003114/0.003114, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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.611/1.611, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001722/0.001722, allocations: 51.92 kB / 373.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1297, allocations: 53.33 MB / 426.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003353/0.133, allocations: 1.873 MB / 428.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1355, allocations: 1.309 MB / 430 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.064e-05/0.1356, allocations: 0 / 430 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.1357, allocations: 15.75 kB / 430 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.1359, allocations: 43.64 kB / 430.1 MB, free: 0.9844 MB / 350.1 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.0008782/0.1368, allocations: 311.1 kB / 430.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.137, allocations: 215.5 kB / 430.6 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.1372, allocations: 52.25 kB / 430.6 MB, free: 428 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1373, allocations: 103.5 kB / 430.7 MB, free: 324 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.1379, allocations: 127.8 kB / 430.9 MB, free: 200 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.1379, allocations: 20 kB / 430.9 MB, free: 180 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.263/0.4009, allocations: 288.8 kB / 431.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.4011, allocations: 60.2 kB / 431.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.4013, allocations: 98.02 kB / 431.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.4023, allocations: 391.9 kB / 431.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4023, allocations: 0.5625 kB / 431.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.4023, allocations: 3.281 kB / 431.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.4023, allocations: 1.062 kB / 431.7 MB, free: 8.324 MB / 350.1 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.001284/0.4036, allocations: 0.5794 MB / 432.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.4036, allocations: 9 kB / 432.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.4039, allocations: 40.12 kB / 432.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.4042, allocations: 242.9 kB / 432.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.4042, allocations: 15.97 kB / 432.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.4043, allocations: 18.12 kB / 432.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.4048, allocations: 202.2 kB / 432.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4048, allocations: 0.6875 kB / 432.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.4049, allocations: 9.031 kB / 432.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.4049, allocations: 9.875 kB / 432.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/0.4054, allocations: 158.5 kB / 433 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.4065, allocations: 0.567 MB / 433.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.4076, allocations: 296.9 kB / 433.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.408, allocations: 112.1 kB / 433.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.408, allocations: 2.688 kB / 433.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004331/0.4084, allocations: 165.6 kB / 434.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.914e-06/0.4084, allocations: 1 kB / 434.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001161/0.4096, allocations: 356.8 kB / 434.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.4096, allocations: 58.84 kB / 434.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.4099, allocations: 220.3 kB / 434.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.4099, allocations: 40.97 kB / 434.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.41, allocations: 131.2 kB / 434.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.41, allocations: 74.78 kB / 435 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.4102, allocations: 74.11 kB / 435 MB, free: 6.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.4102, allocations: 330.5 kB / 435.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.4106, allocations: 137.2 kB / 435.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.411, allocations: 166.8 kB / 435.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007455/0.4118, allocations: 267.8 kB / 435.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.4118, allocations: 3.938 kB / 435.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009066/0.4127, allocations: 375.9 kB / 436.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4127, allocations: 5.094 kB / 436.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4127, allocations: 4.781 kB / 436.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.4128, allocations: 2.25 kB / 436.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.4131, allocations: 75.3 kB / 436.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4131, allocations: 2.25 kB / 436.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.4133, allocations: 38.08 kB / 436.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.4133, allocations: 12.06 kB / 436.4 MB, free: 6.383 MB / 350.1 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.0001467/0.4135, allocations: 152.9 kB / 436.6 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.4135, allocations: 21.39 kB / 436.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.4136, allocations: 22.64 kB / 436.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4136, allocations: 2.281 kB / 436.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.4136, allocations: 0 / 436.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4136, allocations: 1.734 kB / 436.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.4148, allocations: 0.6261 MB / 437.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4148, allocations: 0 / 437.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.4151, allocations: 42.05 kB / 437.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4151, allocations: 0 / 437.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.4151, allocations: 11.7 kB / 437.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.4151, allocations: 1.688 kB / 437.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.4151, allocations: 3.438 kB / 437.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.4163, allocations: 488.1 kB / 437.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.4164, allocations: 105.6 kB / 437.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.4164, allocations: 8.469 kB / 437.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.4166, allocations: 25.55 kB / 437.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.4167, allocations: 15.02 kB / 437.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4167, allocations: 9.453 kB / 437.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.4169, allocations: 157.8 kB / 438.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4169, allocations: 1.156 kB / 438.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005782/0.4174, allocations: 97.19 kB / 438.2 MB, free: 5.562 MB / 350.1 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.0007187/0.4182, allocations: 272.5 kB / 438.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009014/0.4191, allocations: 262.6 kB / 438.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4191, allocations: 1.188 kB / 438.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.4194, allocations: 111.4 kB / 438.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.4198, allocations: 29.27 kB / 438.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.4209, allocations: 474.4 kB / 439.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.4211, allocations: 0.7398 MB / 440.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.4212, allocations: 32.89 kB / 440.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.186e-05/0.4213, allocations: 22.86 kB / 440.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4213, allocations: 0 / 440.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of Templates: time 0.009557/0.4309, allocations: 3.627 MB / 443.7 MB, free: 4.23 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.20319477468729]