Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001447/0.001447, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001671/0.001671, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.502/1.502, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.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.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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.576e-06/3.576e-06, allocations: 1.031 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.587e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003595/0.003631, allocations: 1.819 MB / 326.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.005823, allocations: 0.9925 MB / 327.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.005934, allocations: 1.094 kB / 327.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.006081, allocations: 20.5 kB / 327.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.006294, allocations: 37.17 kB / 328 MB, free: 14.62 MB / 302.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.0007357/0.00703, allocations: 191.4 kB / 328.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.007348, allocations: 229.2 kB / 328.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.007514, allocations: 50.45 kB / 328.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.007714, allocations: 131.3 kB / 328.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005862/0.0083, allocations: 100.8 kB / 328.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/0.008348, allocations: 21.53 kB / 328.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.00873, allocations: 150.7 kB / 328.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/0.008822, allocations: 64.33 kB / 328.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.008931, allocations: 61.77 kB / 328.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005852/0.009516, allocations: 323.1 kB / 329.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.009522, allocations: 0.75 kB / 329.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.009523, allocations: 4 kB / 329.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.00953, allocations: 0.875 kB / 329.3 MB, free: 14.04 MB / 302.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.001265/0.0108, allocations: 494.4 kB / 329.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.01084, allocations: 8.844 kB / 329.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.0111, allocations: 40.09 kB / 329.8 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.01142, allocations: 188.7 kB / 330 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.01146, allocations: 17.12 kB / 330 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.01151, allocations: 17.95 kB / 330 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.01211, allocations: 207.9 kB / 330.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.01212, allocations: 9.109 kB / 330.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.01215, allocations: 9.062 kB / 330.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.01216, allocations: 7.406 kB / 330.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.01267, allocations: 154.4 kB / 330.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.01384, allocations: 464.3 kB / 330.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.01507, allocations: 301.9 kB / 331.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.01541, allocations: 107.8 kB / 331.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.01544, allocations: 2.344 kB / 331.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004923/0.01593, allocations: 170.1 kB / 331.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.01593, allocations: 4 kB / 331.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001179/0.01711, allocations: 356.5 kB / 331.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.01718, allocations: 56.97 kB / 331.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.01747, allocations: 208.1 kB / 332 MB, free: 12.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.01752, allocations: 40.2 kB / 332.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01764, allocations: 129.9 kB / 332.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/0.01771, allocations: 72.45 kB / 332.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.01783, allocations: 71.83 kB / 332.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.01802, allocations: 332.3 kB / 332.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.01841, allocations: 136.1 kB / 332.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.01885, allocations: 164.4 kB / 332.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/0.01958, allocations: 271.9 kB / 333.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01958, allocations: 0 / 333.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00102/0.0206, allocations: 379.1 kB / 333.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.02063, allocations: 9 kB / 333.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.02064, allocations: 0 / 333.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.02066, allocations: 2.812 kB / 333.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.021, allocations: 72.38 kB / 333.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.02101, allocations: 1.688 kB / 333.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.02122, allocations: 38.95 kB / 333.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.02128, allocations: 12.03 kB / 333.7 MB, free: 11.06 MB / 302.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.0002388/0.02152, allocations: 148.5 kB / 333.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.02157, allocations: 23.61 kB / 333.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.747e-05/0.02166, allocations: 20.5 kB / 333.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.02167, allocations: 2.188 kB / 333.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.02168, allocations: 3.984 kB / 333.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.02169, allocations: 1.062 kB / 333.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.02304, allocations: 0.5236 MB / 334.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.02304, allocations: 0 / 334.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.02333, allocations: 45.33 kB / 334.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.02334, allocations: 1.438 kB / 334.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.02338, allocations: 14.11 kB / 334.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.02338, allocations: 4 kB / 334.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.02338, allocations: 1.031 kB / 334.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.02472, allocations: 486.8 kB / 335 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.02477, allocations: 17.06 kB / 335 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.02482, allocations: 8.156 kB / 335 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.02504, allocations: 23.28 kB / 335 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.02514, allocations: 21.52 kB / 335 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.02516, allocations: 4 kB / 335 MB, free: 10.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.02532, allocations: 145.3 kB / 335.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02532, allocations: 1.281 kB / 335.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004733/0.02579, allocations: 72.72 kB / 335.3 MB, free: 9.992 MB / 302.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.0006147/0.02641, allocations: 213.2 kB / 335.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008654/0.02727, allocations: 269.2 kB / 335.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02728, allocations: 0 / 335.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.02766, allocations: 114.2 kB / 335.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.02801, allocations: 21.58 kB / 335.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.02924, allocations: 439.7 kB / 336.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.02942, allocations: 134.3 kB / 336.4 MB, free: 9.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.02953, allocations: 29.31 kB / 336.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.02962, allocations: 24.77 kB / 336.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.02962, allocations: 0 / 336.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of Templates: time 0.00857/0.03819, allocations: 2.96 MB / 339.4 MB, free: 6.586 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.497322212904692]