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.0008189/0.0008189, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003809/0.003809, allocations: 149.4 kB / 24.68 MB, free: 9.422 MB / 18.57 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 0.8273/0.8273, allocations: 173.4 MB / 201.2 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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 7.92e-07/7.92e-07, allocations: 0 / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/1.065e-05, allocations: 6.219 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001898/0.001909, allocations: 1.771 MB / 321.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.002962, allocations: 0.9546 MB / 322.4 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.00302, allocations: 0 / 322.4 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.297e-05/0.003073, allocations: 23.73 kB / 322.5 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.557e-05/0.003169, allocations: 35.61 kB / 322.5 MB, free: 3.035 MB / 282.7 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.000293/0.003462, allocations: 195.3 kB / 322.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.003641, allocations: 235.4 kB / 322.9 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.003755, allocations: 48.55 kB / 323 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.003858, allocations: 131.7 kB / 323.1 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.004234, allocations: 94.97 kB / 323.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.004264, allocations: 24 kB / 323.2 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.004442, allocations: 155.6 kB / 323.4 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.004494, allocations: 67.73 kB / 323.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.004552, allocations: 67.81 kB / 323.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.004872, allocations: 319 kB / 323.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004874, allocations: 4 kB / 323.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.004874, allocations: 0 / 323.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.004879, allocations: 0 / 323.8 MB, free: 1.719 MB / 282.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.0007004/0.00558, allocations: 490.2 kB / 324.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.005611, allocations: 12.92 kB / 324.3 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.005743, allocations: 40.78 kB / 324.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.00592, allocations: 175.1 kB / 324.5 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.005942, allocations: 12.66 kB / 324.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.005977, allocations: 31.92 kB / 324.5 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.006251, allocations: 190.9 kB / 324.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006261, allocations: 0 / 324.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.006283, allocations: 11.94 kB / 324.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.006292, allocations: 7.984 kB / 324.8 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.006532, allocations: 148.4 kB / 324.9 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.007112, allocations: 468.3 kB / 325.4 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.007675, allocations: 310.5 kB / 325.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.007826, allocations: 104.8 kB / 325.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.007843, allocations: 4 kB / 325.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.008066, allocations: 168.8 kB / 325.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.052e-06/0.008067, allocations: 4 kB / 325.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005273/0.008594, allocations: 353.2 kB / 326.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.008631, allocations: 59.41 kB / 326.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.008751, allocations: 194.3 kB / 326.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.008775, allocations: 37.69 kB / 326.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.008841, allocations: 132.5 kB / 326.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.008884, allocations: 79.44 kB / 326.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.008948, allocations: 65.69 kB / 326.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.009048, allocations: 330.8 kB / 327.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.00923, allocations: 135.9 kB / 327.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.009427, allocations: 162.3 kB / 327.4 MB, free: 13.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.009766, allocations: 271.3 kB / 327.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009768, allocations: 3.938 kB / 327.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004297/0.0102, allocations: 360.6 kB / 328.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.01021, allocations: 8.031 kB / 328.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.01022, allocations: 4 kB / 328.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.01023, allocations: 0 / 328.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.01037, allocations: 71.88 kB / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01038, allocations: 7.984 kB / 328.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.01045, allocations: 39.75 kB / 328.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.01046, allocations: 12 kB / 328.2 MB, free: 13.12 MB / 298.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 9.726e-05/0.01056, allocations: 153.6 kB / 328.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.01058, allocations: 15.91 kB / 328.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.01062, allocations: 21.97 kB / 328.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.01062, allocations: 0 / 328.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.01062, allocations: 4 kB / 328.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01063, allocations: 3.984 kB / 328.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.01121, allocations: 0.5446 MB / 328.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.01121, allocations: 0 / 328.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.01132, allocations: 47.89 kB / 329 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01132, allocations: 4 kB / 329 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.01133, allocations: 4 kB / 329 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.01133, allocations: 0 / 329 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01133, allocations: 0 / 329 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.01185, allocations: 494.9 kB / 329.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.01187, allocations: 19.8 kB / 329.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.01189, allocations: 8.062 kB / 329.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.01198, allocations: 27.91 kB / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.012, allocations: 11.97 kB / 329.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.01201, allocations: 4 kB / 329.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.421e-05/0.01208, allocations: 144.3 kB / 329.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01208, allocations: 0 / 329.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.01228, allocations: 63.94 kB / 329.8 MB, free: 11.52 MB / 298.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 (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.0002958/0.01258, allocations: 205.8 kB / 330 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.01298, allocations: 264.4 kB / 330.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.01298, allocations: 4 kB / 330.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.01314, allocations: 111.9 kB / 330.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.01334, allocations: 32.05 kB / 330.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.01387, allocations: 456.3 kB / 330.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.586e-05/0.01395, allocations: 133.2 kB / 330.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.01401, allocations: 20.5 kB / 331 MB, free: 10.28 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01401, allocations: 0 / 331 MB, free: 10.28 MB / 298.7 MB Notification: Performance of Templates: time 0.003581/0.01759, allocations: 3.409 MB / 334.4 MB, free: 6.879 MB / 298.7 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.738457293249667]