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.002503/0.002503, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.002812/0.002812, allocations: 156.9 kB / 24.26 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.675/1.675, allocations: 177 MB / 204.5 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.813e-06/1.813e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.625e-05, allocations: 6.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004446/0.004482, allocations: 1.811 MB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.007611, allocations: 1.243 MB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.007777, allocations: 0 / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.007967, allocations: 19.73 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.008206, allocations: 35.67 kB / 275.3 MB, free: 14.64 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.001286/0.009492, allocations: 330.8 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.009928, allocations: 219.4 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.01013, allocations: 48.55 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.0104, allocations: 135.7 kB / 276 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000811/0.01121, allocations: 107.9 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.651e-05/0.01131, allocations: 24 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007532/0.01206, allocations: 323.2 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.01218, allocations: 55.81 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.0123, allocations: 67.77 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009682/0.01327, allocations: 446.6 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.01327, allocations: 0 / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01328, allocations: 0 / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.01329, allocations: 0 / 277.1 MB, free: 12.93 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.001534/0.01482, allocations: 0.502 MB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.01486, allocations: 12.03 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003301/0.01519, allocations: 44.78 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.01555, allocations: 189.9 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.0156, allocations: 16.66 kB / 277.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.01568, allocations: 20.38 kB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.01625, allocations: 195.8 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.01626, allocations: 192 / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.01629, allocations: 12.38 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.0163, allocations: 7.938 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/0.01685, allocations: 160.4 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.0181, allocations: 464.8 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.01927, allocations: 302.6 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.01961, allocations: 104.7 kB / 279 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.01964, allocations: 8 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.0201, allocations: 167.2 kB / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.893e-06/0.02011, allocations: 0 / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001212/0.02132, allocations: 360.7 kB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.02139, allocations: 63.34 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.02168, allocations: 199 kB / 279.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.02173, allocations: 41.7 kB / 279.9 MB, free: 9.961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.02187, allocations: 132.5 kB / 280 MB, free: 9.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/0.02196, allocations: 71.44 kB / 280.1 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.02211, allocations: 69.95 kB / 280.1 MB, free: 9.684 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.02231, allocations: 334.8 kB / 280.5 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.02272, allocations: 135.7 kB / 280.6 MB, free: 9.215 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.02315, allocations: 161.6 kB / 280.8 MB, free: 9.051 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000806/0.02395, allocations: 267.3 kB / 281 MB, free: 8.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.02396, allocations: 4 kB / 281 MB, free: 8.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001002/0.02496, allocations: 395.8 kB / 281.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.02499, allocations: 4 kB / 281.4 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.025, allocations: 3.938 kB / 281.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.02502, allocations: 4 kB / 281.4 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.02536, allocations: 63.89 kB / 281.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.02537, allocations: 7.984 kB / 281.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.0256, allocations: 39.77 kB / 281.5 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.02563, allocations: 15.98 kB / 281.5 MB, free: 8.25 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.0002054/0.02584, allocations: 137.8 kB / 281.7 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.0259, allocations: 27.84 kB / 281.7 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.573e-05/0.02598, allocations: 25.89 kB / 281.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.02598, allocations: 0 / 281.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.02598, allocations: 0 / 281.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.02599, allocations: 3.984 kB / 281.7 MB, free: 8.047 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.02737, allocations: 0.5253 MB / 282.3 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02737, allocations: 0 / 282.3 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.02765, allocations: 47.89 kB / 282.3 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.02766, allocations: 8 kB / 282.3 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.02768, allocations: 3.984 kB / 282.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.02768, allocations: 0 / 282.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.02769, allocations: 3.938 kB / 282.3 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.02903, allocations: 491 kB / 282.8 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.02907, allocations: 19.84 kB / 282.8 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.02912, allocations: 12.05 kB / 282.8 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.02934, allocations: 24.05 kB / 282.9 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.02942, allocations: 19.97 kB / 282.9 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.02944, allocations: 7.984 kB / 282.9 MB, free: 6.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001708/0.02961, allocations: 136.3 kB / 283 MB, free: 6.711 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02961, allocations: 4 kB / 283 MB, free: 6.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005336/0.03014, allocations: 111.7 kB / 283.1 MB, free: 6.598 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.0008856/0.03103, allocations: 282.8 kB / 283.4 MB, free: 6.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008672/0.03189, allocations: 267.4 kB / 283.7 MB, free: 6.082 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.0319, allocations: 8 kB / 283.7 MB, free: 6.074 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.03225, allocations: 103.9 kB / 283.8 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.03263, allocations: 27.98 kB / 283.8 MB, free: 5.945 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.03378, allocations: 465.4 kB / 284.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.03394, allocations: 125.2 kB / 284.4 MB, free: 5.316 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.03407, allocations: 29.62 kB / 284.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.731e-05/0.03417, allocations: 24.48 kB / 284.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03417, allocations: 0 / 284.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of Templates: time 0.01005/0.04422, allocations: 3.727 MB / 288.2 MB, free: 1.574 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] 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.605174708063714]