Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006019/0.006019, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 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.001525/0.001525, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 259 MB, free: 8.016 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 59.89 kB / 379.8 MB, free: 2.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3177, allocations: 53.37 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003376/0.3211, allocations: 1.893 MB / 435.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.3236, allocations: 1.333 MB / 436.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.865e-05/0.3237, allocations: 4 kB / 436.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.3238, allocations: 15.75 kB / 436.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.3239, allocations: 39.7 kB / 436.5 MB, free: 3.676 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0009548/0.3249, allocations: 319.1 kB / 436.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.3252, allocations: 223.4 kB / 437 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3253, allocations: 44.56 kB / 437 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.3255, allocations: 103.6 kB / 437.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006079/0.3261, allocations: 123.5 kB / 437.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.3261, allocations: 20 kB / 437.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000589/0.3267, allocations: 335.4 kB / 437.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.639e-05/0.3268, allocations: 59.83 kB / 437.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.3269, allocations: 99.45 kB / 437.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.3275, allocations: 395.7 kB / 438.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3275, allocations: 0 / 438.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3275, allocations: 0 / 438.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3275, allocations: 4 kB / 438.2 MB, free: 1.988 MB / 334.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.001147/0.3287, allocations: 0.5135 MB / 438.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3287, allocations: 8.031 kB / 438.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.3289, allocations: 36.78 kB / 438.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.3292, allocations: 186.1 kB / 438.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.3292, allocations: 12.66 kB / 438.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.3293, allocations: 24.12 kB / 438.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.3298, allocations: 196.4 kB / 439.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3298, allocations: 4 kB / 439.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3298, allocations: 4 kB / 439.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3298, allocations: 4 kB / 439.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/0.3303, allocations: 152.4 kB / 439.3 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.3314, allocations: 0.5429 MB / 439.8 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.3325, allocations: 294.7 kB / 440.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.3328, allocations: 111.5 kB / 440.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3328, allocations: 4 kB / 440.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004491/0.3333, allocations: 163.3 kB / 440.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.3333, allocations: 0 / 440.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001065/0.3344, allocations: 359.1 kB / 440.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.3344, allocations: 63.39 kB / 440.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.3347, allocations: 222.7 kB / 441 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.3347, allocations: 45.62 kB / 441.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.3348, allocations: 124.6 kB / 441.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.358e-05/0.3349, allocations: 71.42 kB / 441.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.335, allocations: 73.64 kB / 441.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3351, allocations: 334.8 kB / 441.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.3355, allocations: 127.9 kB / 441.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.3359, allocations: 173.4 kB / 441.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006485/0.3365, allocations: 267.2 kB / 442.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3365, allocations: 0 / 442.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008631/0.3374, allocations: 387.8 kB / 442.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3374, allocations: 4 kB / 442.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3374, allocations: 0 / 442.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3374, allocations: 4 kB / 442.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.3377, allocations: 67.92 kB / 442.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3378, allocations: 0 / 442.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.3379, allocations: 43.75 kB / 442.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.338, allocations: 15.98 kB / 442.7 MB, free: 13.23 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.0001648/0.3381, allocations: 147.1 kB / 442.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.3382, allocations: 23.86 kB / 442.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.577e-05/0.3382, allocations: 25.95 kB / 442.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3382, allocations: 3.984 kB / 442.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3382, allocations: 3.938 kB / 442.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3382, allocations: 0 / 442.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3394, allocations: 0.6025 MB / 443.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3394, allocations: 4 kB / 443.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.3397, allocations: 43.95 kB / 443.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3397, allocations: 0 / 443.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.3397, allocations: 4 kB / 443.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3397, allocations: 3.938 kB / 443.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3397, allocations: 0 / 443.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.3407, allocations: 496.8 kB / 444.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.3408, allocations: 23.91 kB / 444.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.3408, allocations: 7.938 kB / 444.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.341, allocations: 23.97 kB / 444.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.3411, allocations: 15.97 kB / 444.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.3411, allocations: 8 kB / 444.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.3412, allocations: 152.7 kB / 444.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3412, allocations: 0 / 444.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004333/0.3417, allocations: 107.7 kB / 444.4 MB, free: 11.48 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.0007469/0.3424, allocations: 260.3 kB / 444.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008196/0.3432, allocations: 259.8 kB / 444.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3432, allocations: 4.062 kB / 444.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.3436, allocations: 110.7 kB / 445 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.3439, allocations: 39.94 kB / 445 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.3449, allocations: 492.1 kB / 445.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.3453, allocations: 0.7397 MB / 446.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.3454, allocations: 31.36 kB / 446.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3454, allocations: 4 kB / 446.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of Templates: time 0.00742/0.3529, allocations: 4.127 MB / 450.4 MB, free: 5.406 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.229874038835987]