Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 81.58 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 173.4 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.328e-05, allocations: 2.281 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.00278/0.002803, allocations: 1.786 MB / 320.7 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.004533, allocations: 0.9506 MB / 321.7 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.004687, allocations: 1.156 kB / 321.7 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.004824, allocations: 21.06 kB / 321.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.00504, allocations: 35.64 kB / 321.7 MB, free: 1.668 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0006993/0.005739, allocations: 188.4 kB / 321.9 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.006016, allocations: 225.8 kB / 322.1 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.006171, allocations: 58.77 kB / 322.2 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.006379, allocations: 133.8 kB / 322.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006451/0.007024, allocations: 98.22 kB / 322.4 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.896e-05/0.007103, allocations: 21.56 kB / 322.4 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.007482, allocations: 154.6 kB / 322.6 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.00756, allocations: 72.38 kB / 322.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.007662, allocations: 66.83 kB / 322.7 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.008191, allocations: 319 kB / 323 MB, free: 1.078 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.008195, allocations: 0 / 323 MB, free: 1.078 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008196, allocations: 0 / 323 MB, free: 1.078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.008203, allocations: 1.781 kB / 323 MB, free: 1.078 MB / 286.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.001046/0.009249, allocations: 495.5 kB / 323.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.009285, allocations: 9.703 kB / 323.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.009507, allocations: 40.19 kB / 323.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.009738, allocations: 185.3 kB / 323.8 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.009768, allocations: 12.34 kB / 323.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.009815, allocations: 26.16 kB / 323.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.01031, allocations: 196.2 kB / 324 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.01032, allocations: 4 kB / 324 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.01035, allocations: 5.375 kB / 324 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.01036, allocations: 2.562 kB / 324 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004688/0.01082, allocations: 149.4 kB / 324.1 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009557/0.01178, allocations: 469.9 kB / 324.6 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.01288, allocations: 302 kB / 324.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.01318, allocations: 105.4 kB / 325 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.01321, allocations: 6.656 kB / 325 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004362/0.01365, allocations: 171.8 kB / 325.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 4.248e-06/0.01365, allocations: 3.984 kB / 325.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001127/0.01478, allocations: 350.9 kB / 325.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.01484, allocations: 57.84 kB / 325.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.0151, allocations: 189.7 kB / 325.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.01515, allocations: 37.45 kB / 325.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.01527, allocations: 136.5 kB / 325.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.707e-05/0.01536, allocations: 79.5 kB / 326 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.01549, allocations: 63.33 kB / 326.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.0157, allocations: 330.2 kB / 326.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.01616, allocations: 136.6 kB / 326.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.01666, allocations: 160.5 kB / 326.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008426/0.0175, allocations: 273.7 kB / 326.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01751, allocations: 0 / 326.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009424/0.01845, allocations: 372.4 kB / 327.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.01847, allocations: 9.375 kB / 327.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.01847, allocations: 1.031 kB / 327.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.01849, allocations: 1.688 kB / 327.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.01883, allocations: 70.5 kB / 327.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.01884, allocations: 6.109 kB / 327.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.01906, allocations: 45.11 kB / 327.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.01909, allocations: 12.88 kB / 327.5 MB, free: 14.61 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.0001924/0.01928, allocations: 145.5 kB / 327.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.01933, allocations: 16.06 kB / 327.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.872e-05/0.0194, allocations: 23.77 kB / 327.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.0194, allocations: 2.125 kB / 327.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.01941, allocations: 1.094 kB / 327.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01941, allocations: 0.7031 kB / 327.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.02067, allocations: 0.5475 MB / 328.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.02067, allocations: 0 / 328.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.02093, allocations: 49.53 kB / 328.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.02094, allocations: 1.797 kB / 328.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.02096, allocations: 3.906 kB / 328.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.02097, allocations: 4 kB / 328.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.02097, allocations: 1.094 kB / 328.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.02209, allocations: 489.8 kB / 328.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.02213, allocations: 27.95 kB / 328.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.02217, allocations: 4.594 kB / 328.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.02242, allocations: 25.22 kB / 328.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.02247, allocations: 12.08 kB / 328.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.0225, allocations: 14.75 kB / 328.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.02263, allocations: 138.5 kB / 328.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02263, allocations: 0 / 328.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.02306, allocations: 61.95 kB / 329 MB, free: 13.73 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 (18): * Single equations (assignments): 16 * 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.0006071/0.02367, allocations: 210.3 kB / 329.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008617/0.02453, allocations: 261 kB / 329.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02453, allocations: 5.094 kB / 329.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.02488, allocations: 110.8 kB / 329.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.02524, allocations: 24.31 kB / 329.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009468/0.02618, allocations: 426.1 kB / 330 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.02634, allocations: 133.8 kB / 330.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.02647, allocations: 29.55 kB / 330.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.705e-05/0.02655, allocations: 23.33 kB / 330.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.02655, allocations: 0 / 330.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Templates: time 0.007806/0.03436, allocations: 3.037 MB / 333.2 MB, free: 11.72 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.47197412699461]