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.002108/0.002108, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002401/0.002401, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.608/1.608, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.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 0.001727/0.001727, allocations: 47.92 kB / 373.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.136, allocations: 53.33 MB / 426.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.004442/0.1405, allocations: 1.881 MB / 428.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.1431, allocations: 1.021 MB / 429.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1433, allocations: 4 kB / 429.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1434, allocations: 19.73 kB / 429.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.1437, allocations: 39.66 kB / 429.8 MB, free: 1.277 MB / 350.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.0007875/0.1445, allocations: 179.5 kB / 430 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.1449, allocations: 223.4 kB / 430.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.1451, allocations: 52.27 kB / 430.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.1453, allocations: 107.5 kB / 430.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007518/0.146, allocations: 116.1 kB / 430.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.1461, allocations: 24 kB / 430.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003605/0.1464, allocations: 131.8 kB / 430.6 MB, free: 476 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1466, allocations: 55.78 kB / 430.6 MB, free: 420 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.1467, allocations: 107.4 kB / 430.8 MB, free: 312 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006323/0.1473, allocations: 302.8 kB / 431 MB, free: 8 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1474, allocations: 0 / 431 MB, free: 8 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1474, allocations: 0 / 431 MB, free: 8 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.1474, allocations: 0 / 431 MB, free: 8 kB / 350.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.279/0.4264, allocations: 0.5585 MB / 431.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4264, allocations: 9.25 kB / 431.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.4267, allocations: 38.23 kB / 431.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.427, allocations: 241.7 kB / 431.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.427, allocations: 12.84 kB / 431.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.4271, allocations: 21.45 kB / 431.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005738/0.4276, allocations: 199 kB / 432.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4276, allocations: 3.375 kB / 432.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.4277, allocations: 9.156 kB / 432.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4277, allocations: 5.094 kB / 432.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.4283, allocations: 155.5 kB / 432.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.4294, allocations: 0.5661 MB / 432.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.4307, allocations: 296.9 kB / 433.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.431, allocations: 112.1 kB / 433.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.431, allocations: 3.641 kB / 433.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004341/0.4315, allocations: 175.1 kB / 433.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/0.4315, allocations: 2.125 kB / 433.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001196/0.4327, allocations: 357 kB / 433.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.4327, allocations: 57.55 kB / 433.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.433, allocations: 225 kB / 434.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.433, allocations: 42.11 kB / 434.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.4331, allocations: 131.9 kB / 434.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.4332, allocations: 77.28 kB / 434.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.4333, allocations: 68.89 kB / 434.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.4334, allocations: 332.6 kB / 434.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.4338, allocations: 134.3 kB / 434.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.4342, allocations: 164.7 kB / 435 MB, free: 9.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008139/0.4351, allocations: 264.7 kB / 435.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4351, allocations: 0 / 435.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001199/0.4363, allocations: 383.6 kB / 435.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.4363, allocations: 5.438 kB / 435.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.4363, allocations: 2.516 kB / 435.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/0.4363, allocations: 1.156 kB / 435.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.4367, allocations: 67.11 kB / 435.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.4368, allocations: 13.5 kB / 435.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.437, allocations: 42.2 kB / 435.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.437, allocations: 9.781 kB / 435.8 MB, free: 9.672 MB / 350.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.0001814/0.4372, allocations: 146.3 kB / 435.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.4372, allocations: 23.42 kB / 435.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.25e-05/0.4373, allocations: 24.59 kB / 435.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4373, allocations: 2.188 kB / 435.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4373, allocations: 4.5 kB / 435.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.4373, allocations: 0.75 kB / 436 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.4387, allocations: 0.6239 MB / 436.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4387, allocations: 1.062 kB / 436.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/0.439, allocations: 45.16 kB / 436.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.439, allocations: 1.156 kB / 436.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.439, allocations: 7.469 kB / 436.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.439, allocations: 1.812 kB / 436.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.439, allocations: 0 / 436.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.4402, allocations: 488.4 kB / 437.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.4403, allocations: 103.7 kB / 437.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.4403, allocations: 10.62 kB / 437.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.4405, allocations: 17.58 kB / 437.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.4406, allocations: 19.58 kB / 437.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.4407, allocations: 6.625 kB / 437.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.4408, allocations: 159.5 kB / 437.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4408, allocations: 0 / 437.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004218/0.4413, allocations: 63.83 kB / 437.5 MB, free: 8.621 MB / 350.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.0005769/0.4418, allocations: 201.1 kB / 437.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000955/0.4428, allocations: 263.3 kB / 437.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4428, allocations: 0 / 437.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.4432, allocations: 109.1 kB / 438 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.4435, allocations: 28.75 kB / 438.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.4447, allocations: 470.8 kB / 438.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.4449, allocations: 0.7407 MB / 439.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.4451, allocations: 33.14 kB / 439.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/0.4452, allocations: 21.31 kB / 439.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4452, allocations: 5 kB / 439.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of Templates: time 0.00947/0.4546, allocations: 2.936 MB / 442.3 MB, free: 7.227 MB / 350.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: 6.075454141944647]