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.001786/0.001786, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002434/0.002434, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.559/1.559, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001957/0.001957, allocations: 51.92 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2624, allocations: 53.37 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003193/0.2656, allocations: 1.805 MB / 433.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.2675, allocations: 0.9859 MB / 434.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.2676, allocations: 4 kB / 434.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.2677, allocations: 23.73 kB / 434.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.2679, allocations: 39.64 kB / 434.4 MB, free: 3.836 MB / 334.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.0006037/0.2685, allocations: 195.5 kB / 434.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.2688, allocations: 215.5 kB / 434.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.269, allocations: 48.36 kB / 434.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.2691, allocations: 103.6 kB / 435 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000619/0.2697, allocations: 122.3 kB / 435.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.2698, allocations: 20 kB / 435.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.2701, allocations: 151.8 kB / 435.3 MB, free: 3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/0.2702, allocations: 59.77 kB / 435.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.2703, allocations: 83.58 kB / 435.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.2707, allocations: 297.2 kB / 435.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2707, allocations: 3.984 kB / 435.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2707, allocations: 0 / 435.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.2707, allocations: 0 / 435.7 MB, free: 2.57 MB / 334.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.00115/0.2719, allocations: 0.4904 MB / 436.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2719, allocations: 8.031 kB / 436.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.2721, allocations: 44.73 kB / 436.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.2724, allocations: 178.2 kB / 436.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.2724, allocations: 16.66 kB / 436.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.2725, allocations: 24.06 kB / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.273, allocations: 200.2 kB / 436.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.273, allocations: 3.984 kB / 436.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.273, allocations: 4 kB / 436.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.273, allocations: 4 kB / 436.7 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.2735, allocations: 157.2 kB / 436.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.2745, allocations: 468.7 kB / 437.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.2756, allocations: 294.7 kB / 437.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.2759, allocations: 112.7 kB / 437.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.276, allocations: 4 kB / 437.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004246/0.2764, allocations: 163.9 kB / 437.9 MB, free: 328 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.2764, allocations: 0 / 437.9 MB, free: 328 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001093/0.2775, allocations: 356.4 kB / 438.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.2775, allocations: 63.39 kB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.2778, allocations: 203.1 kB / 438.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.2778, allocations: 37.69 kB / 438.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2779, allocations: 140.5 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/0.278, allocations: 75.33 kB / 438.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2781, allocations: 69.69 kB / 438.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2783, allocations: 330.8 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.2786, allocations: 131.7 kB / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.2791, allocations: 177.4 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006836/0.2797, allocations: 267.2 kB / 439.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.2797, allocations: 3.938 kB / 439.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000877/0.2806, allocations: 371.9 kB / 440 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2806, allocations: 6.812 kB / 440 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2806, allocations: 0 / 440 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.2807, allocations: 4 kB / 440 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.281, allocations: 71.91 kB / 440.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.281, allocations: 0 / 440.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.2812, allocations: 47.75 kB / 440.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.2812, allocations: 8 kB / 440.2 MB, free: 13.94 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.00018/0.2814, allocations: 157.6 kB / 440.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.2814, allocations: 15.91 kB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.2815, allocations: 17.97 kB / 440.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2815, allocations: 7.938 kB / 440.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.2815, allocations: 0 / 440.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.2815, allocations: 3.984 kB / 440.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.2826, allocations: 0.5368 MB / 440.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2826, allocations: 3.938 kB / 440.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.2829, allocations: 43.89 kB / 440.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2829, allocations: 3.938 kB / 440.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.2829, allocations: 11.98 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2829, allocations: 0 / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2829, allocations: 0 / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.284, allocations: 483 kB / 441.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.2841, allocations: 19.97 kB / 441.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.2841, allocations: 4 kB / 441.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.2843, allocations: 23.97 kB / 441.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.2844, allocations: 19.91 kB / 441.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.2844, allocations: 12.12 kB / 441.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.2845, allocations: 140.3 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2845, allocations: 0 / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.2849, allocations: 71.83 kB / 441.7 MB, free: 12.32 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.000508/0.2854, allocations: 200 kB / 441.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007876/0.2862, allocations: 263.8 kB / 442.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2862, allocations: 0 / 442.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.2865, allocations: 103.9 kB / 442.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.2869, allocations: 34.14 kB / 442.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2879, allocations: 466.4 kB / 442.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.2881, allocations: 129.1 kB / 442.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.2882, allocations: 33.56 kB / 442.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.2883, allocations: 27.42 kB / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2883, allocations: 0 / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Templates: time 0.007705/0.296, allocations: 3.077 MB / 446 MB, free: 8.027 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: 5.733260644599795]