Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001512/0.001512, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001137/0.001137, allocations: 156.5 kB / 24.55 MB, free: 16 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.083/1.083, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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.UniformNoiseProperties,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.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.039e-05/4.251e-05, allocations: 2.312 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002724/0.002766, allocations: 1.882 MB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.004365, allocations: 1.016 MB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.438e-05/0.004459, allocations: 0 / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.004622, allocations: 15.75 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.004854, allocations: 39.59 kB / 275.9 MB, free: 14.45 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.0005205/0.005375, allocations: 195.3 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.005597, allocations: 223.4 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.005752, allocations: 52.53 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.005881, allocations: 143.6 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.006404, allocations: 101.7 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.006447, allocations: 20 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.006676, allocations: 155.7 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.00674, allocations: 63.75 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.841e-05/0.006819, allocations: 67.81 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.007209, allocations: 259 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.007213, allocations: 3.984 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.007215, allocations: 3.938 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.007221, allocations: 0 / 277.1 MB, free: 13.19 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.0008353/0.008056, allocations: 0.5787 MB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.00811, allocations: 8.031 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.008302, allocations: 52.73 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.008529, allocations: 201.4 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.008555, allocations: 16.66 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.008592, allocations: 16.38 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.008841, allocations: 140.1 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.008849, allocations: 192 / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.008868, allocations: 8.359 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.008878, allocations: 7.938 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.008991, allocations: 56.45 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000865/0.009856, allocations: 0.5116 MB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.01026, allocations: 151.4 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.402e-05/0.01033, allocations: 51.59 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.01036, allocations: 4 kB / 278.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.01053, allocations: 108.9 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.176e-06/0.01053, allocations: 0 / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003502/0.01088, allocations: 176.9 kB / 279.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.01093, allocations: 71.28 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.01109, allocations: 254.4 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.01112, allocations: 41.69 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.0112, allocations: 175.3 kB / 279.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.01125, allocations: 79.38 kB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.01133, allocations: 71.66 kB / 279.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.01145, allocations: 0.504 MB / 280.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.953e-05/0.01154, allocations: 51.72 kB / 280.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.01168, allocations: 91.27 kB / 280.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.01185, allocations: 133 kB / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.01185, allocations: 4 kB / 280.7 MB, free: 9.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003002/0.01215, allocations: 228 kB / 280.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.01217, allocations: 4 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.01218, allocations: 7.938 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.01219, allocations: 0 / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.01237, allocations: 75.89 kB / 281 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.01238, allocations: 4 kB / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.01246, allocations: 39.84 kB / 281 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.01248, allocations: 8 kB / 281 MB, free: 9.086 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.0001105/0.01259, allocations: 180.4 kB / 281.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.01262, allocations: 23.91 kB / 281.2 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.01267, allocations: 21.91 kB / 281.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.01267, allocations: 4 kB / 281.2 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.01268, allocations: 3.938 kB / 281.2 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.01269, allocations: 3.984 kB / 281.3 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.01318, allocations: 485.1 kB / 281.7 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01318, allocations: 0 / 281.7 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.0133, allocations: 39.91 kB / 281.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.0133, allocations: 4 kB / 281.8 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.01332, allocations: 7.984 kB / 281.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01332, allocations: 0 / 281.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.01333, allocations: 3.938 kB / 281.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.01365, allocations: 347.7 kB / 282.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.01367, allocations: 23.84 kB / 282.1 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.0137, allocations: 8 kB / 282.2 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.01378, allocations: 19.97 kB / 282.2 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.01383, allocations: 23.89 kB / 282.2 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.01384, allocations: 4 kB / 282.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.465e-05/0.01393, allocations: 172.2 kB / 282.4 MB, free: 7.668 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01393, allocations: 4 kB / 282.4 MB, free: 7.664 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.01417, allocations: 71.81 kB / 282.4 MB, free: 7.594 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.0004371/0.0146, allocations: 213.4 kB / 282.6 MB, free: 7.402 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.01489, allocations: 143.2 kB / 282.8 MB, free: 7.258 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.01489, allocations: 8.062 kB / 282.8 MB, free: 7.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.661e-05/0.01498, allocations: 55.59 kB / 282.9 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.01524, allocations: 32.05 kB / 282.9 MB, free: 7.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.01591, allocations: 394.2 kB / 283.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.483e-05/0.01597, allocations: 88.08 kB / 283.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.405e-05/0.01606, allocations: 33.56 kB / 283.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.01612, allocations: 24.5 kB / 283.4 MB, free: 6.578 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01612, allocations: 0 / 283.4 MB, free: 6.578 MB / 266.7 MB Notification: Performance of Templates: time 0.005621/0.02175, allocations: 3.048 MB / 286.5 MB, free: 3.562 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.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.8582086148671806]