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.001111/0.001111, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001193/0.001193, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.905e-06/2.905e-06, allocations: 0 / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.187e-05, allocations: 2.312 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002451/0.002473, allocations: 1.857 MB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.004016, allocations: 1.001 MB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.004138, allocations: 4 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.004261, allocations: 19.73 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.004444, allocations: 39.64 kB / 276.3 MB, free: 14.32 MB / 266.7 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.0006764/0.005121, allocations: 195.3 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.005367, allocations: 223.4 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.005511, allocations: 48.55 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.005681, allocations: 131.6 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004754/0.006156, allocations: 119 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.006219, allocations: 27.94 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.006513, allocations: 151.7 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.74e-05/0.00658, allocations: 59.77 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.725e-05/0.006657, allocations: 67.8 kB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.007077, allocations: 259.1 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.007079, allocations: 7.938 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007079, allocations: 0 / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.007084, allocations: 0 / 277.6 MB, free: 13.07 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.0007444/0.007829, allocations: 0.5825 MB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.007868, allocations: 8.031 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.008049, allocations: 56.73 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.00825, allocations: 192.9 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.008277, allocations: 20.66 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.00831, allocations: 16.38 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.008519, allocations: 120.4 kB / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.00853, allocations: 7.922 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.008543, allocations: 4 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.008549, allocations: 4 kB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.113e-05/0.00863, allocations: 53.08 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.009269, allocations: 488.5 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.009601, allocations: 143.3 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.009656, allocations: 43.62 kB / 279.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.009678, allocations: 15.94 kB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.009831, allocations: 104.1 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.853e-06/0.009833, allocations: 0 / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003305/0.01016, allocations: 163.7 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.01021, allocations: 67.33 kB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.01039, allocations: 254.9 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.01043, allocations: 33.7 kB / 279.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.01053, allocations: 187.3 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.01058, allocations: 71.36 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.01067, allocations: 71.62 kB / 280.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.01084, allocations: 0.5157 MB / 280.8 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.01091, allocations: 39.72 kB / 280.8 MB, free: 9.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-05/0.01098, allocations: 75.06 kB / 280.9 MB, free: 9.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.01112, allocations: 113.1 kB / 281 MB, free: 9.457 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01112, allocations: 0 / 281 MB, free: 9.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002377/0.01136, allocations: 211.9 kB / 281.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.01137, allocations: 7.938 kB / 281.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.01138, allocations: 0 / 281.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01139, allocations: 4 kB / 281.2 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.01157, allocations: 83.91 kB / 281.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.01158, allocations: 0 / 281.3 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.01166, allocations: 39.77 kB / 281.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.01168, allocations: 4 kB / 281.3 MB, free: 9.109 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,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,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.0001111/0.01179, allocations: 176.5 kB / 281.5 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.01182, allocations: 23.91 kB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.01186, allocations: 25.91 kB / 281.6 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.01186, allocations: 7.984 kB / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01186, allocations: 0 / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01187, allocations: 0 / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.01231, allocations: 449.7 kB / 282 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01231, allocations: 0 / 282 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.01242, allocations: 47.91 kB / 282.1 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01243, allocations: 0 / 282.1 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01244, allocations: 11.92 kB / 282.1 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01244, allocations: 4 kB / 282.1 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01245, allocations: 3.938 kB / 282.1 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.01277, allocations: 334.8 kB / 282.4 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.01279, allocations: 19.83 kB / 282.4 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.01282, allocations: 8 kB / 282.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.0129, allocations: 19.97 kB / 282.4 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.01295, allocations: 11.98 kB / 282.5 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.01296, allocations: 7.984 kB / 282.5 MB, free: 7.922 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.194e-05/0.01304, allocations: 168.2 kB / 282.6 MB, free: 7.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01304, allocations: 4 kB / 282.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.01331, allocations: 67.83 kB / 282.7 MB, free: 7.688 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.0004006/0.01371, allocations: 212.1 kB / 282.9 MB, free: 7.508 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.01392, allocations: 131.2 kB / 283 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01392, allocations: 0 / 283 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.449e-05/0.01399, allocations: 55.58 kB / 283.1 MB, free: 7.316 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01421, allocations: 39.97 kB / 283.1 MB, free: 7.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.01476, allocations: 383.3 kB / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.211e-05/0.01481, allocations: 87.97 kB / 283.6 MB, free: 6.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.424e-05/0.01488, allocations: 21.62 kB / 283.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.01499, allocations: 110.2 kB / 283.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01499, allocations: 0 / 283.7 MB, free: 6.629 MB / 266.7 MB Notification: Performance of Templates: time 0.00504/0.02003, allocations: 3.338 MB / 287.1 MB, free: 3.324 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 240] 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","",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.7678395020775497]