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.00277/0.00277, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002612/0.002612, allocations: 156.8 kB / 24.27 MB, free: 156 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.578/1.578, allocations: 177 MB / 204.4 MB, free: 5.594 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.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.615e-06/2.615e-06, allocations: 0 / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.648e-05/3.909e-05, allocations: 2.312 kB / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003988/0.004027, allocations: 1.842 MB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.006329, allocations: 1.009 MB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.006434, allocations: 0 / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.006564, allocations: 15.75 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.00678, allocations: 39.59 kB / 275.1 MB, free: 14.84 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.0006708/0.007451, allocations: 191.3 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.007779, allocations: 227.3 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.007952, allocations: 52.48 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.008152, allocations: 127.7 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007029/0.008855, allocations: 119.8 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.008912, allocations: 24 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.009258, allocations: 155.7 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-05/0.009349, allocations: 63.75 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.009454, allocations: 63.81 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.01001, allocations: 322.9 kB / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.01001, allocations: 0 / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01001, allocations: 0 / 276.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.01002, allocations: 0 / 276.4 MB, free: 13.53 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.001222/0.01124, allocations: 0.594 MB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.01128, allocations: 12.03 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.01153, allocations: 48.78 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.01183, allocations: 192.8 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.01186, allocations: 12.66 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.01191, allocations: 20.38 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.0124, allocations: 184 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.01241, allocations: 4.125 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.01243, allocations: 4.375 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.01244, allocations: 7.938 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.01292, allocations: 140.4 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.01406, allocations: 0.5273 MB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.01515, allocations: 295.2 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.01547, allocations: 95.62 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.01549, allocations: 8 kB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.01591, allocations: 160.9 kB / 278.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.01591, allocations: 0 / 278.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001058/0.01697, allocations: 328.7 kB / 279 MB, free: 10.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.01703, allocations: 59.34 kB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.01736, allocations: 290.4 kB / 279.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/0.01744, allocations: 37.69 kB / 279.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.01759, allocations: 183.3 kB / 279.6 MB, free: 10.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.719e-05/0.01769, allocations: 79.42 kB / 279.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.01783, allocations: 87.61 kB / 279.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002937/0.01813, allocations: 0.5118 MB / 280.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.01849, allocations: 115.7 kB / 280.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.01887, allocations: 151.2 kB / 280.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.01954, allocations: 245 kB / 280.8 MB, free: 8.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01954, allocations: 0 / 280.8 MB, free: 8.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008712/0.02041, allocations: 343.9 kB / 281.1 MB, free: 8.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.02043, allocations: 7.938 kB / 281.1 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.02044, allocations: 3.938 kB / 281.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.02045, allocations: 4 kB / 281.1 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.02088, allocations: 79.88 kB / 281.2 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.02089, allocations: 0 / 281.2 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.02106, allocations: 35.83 kB / 281.2 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.0211, allocations: 11.98 kB / 281.2 MB, free: 8.496 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.0001949/0.02129, allocations: 188.5 kB / 281.4 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.02134, allocations: 19.91 kB / 281.4 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.339e-05/0.02141, allocations: 29.89 kB / 281.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.02141, allocations: 0 / 281.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.02142, allocations: 0 / 281.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.02142, allocations: 0 / 281.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.0226, allocations: 0.583 MB / 282.1 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.0226, allocations: 0 / 282.1 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.02286, allocations: 47.95 kB / 282.1 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.02286, allocations: 0 / 282.1 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.02288, allocations: 4 kB / 282.1 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.02288, allocations: 4 kB / 282.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.02289, allocations: 3.938 kB / 282.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.024, allocations: 0.4955 MB / 282.6 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.02404, allocations: 31.83 kB / 282.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.02409, allocations: 8 kB / 282.7 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.0243, allocations: 23.97 kB / 282.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.02436, allocations: 7.984 kB / 282.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.02438, allocations: 11.98 kB / 282.7 MB, free: 6.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.02456, allocations: 188.2 kB / 282.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02456, allocations: 0 / 282.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003728/0.02493, allocations: 67.89 kB / 282.9 MB, free: 6.723 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.0006992/0.02563, allocations: 207.9 kB / 283.1 MB, free: 6.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008036/0.02643, allocations: 275.1 kB / 283.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02644, allocations: 0 / 283.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.02677, allocations: 112.5 kB / 283.5 MB, free: 6.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.02716, allocations: 39.97 kB / 283.6 MB, free: 6.113 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.0282, allocations: 443.3 kB / 284 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.02835, allocations: 129.2 kB / 284.1 MB, free: 5.496 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.02847, allocations: 33.61 kB / 284.2 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.349e-05/0.02855, allocations: 28.48 kB / 284.2 MB, free: 5.438 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02855, allocations: 0 / 284.2 MB, free: 5.438 MB / 266.7 MB Notification: Performance of Templates: time 0.008153/0.03671, allocations: 3.049 MB / 287.2 MB, free: 2.422 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.804175355937332]