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.001997/0.001997, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002545/0.002545, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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 2.725e-06/2.725e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.537e-05/3.809e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.004038/0.004076, allocations: 1.834 MB / 274.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.006452, allocations: 0.974 MB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.006603, allocations: 0 / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.006763, allocations: 23.73 kB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.007032, allocations: 43.59 kB / 275.2 MB, free: 14.92 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.0007832/0.007815, allocations: 175.4 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.008206, allocations: 231.3 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.008408, allocations: 60.41 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.00867, allocations: 131.7 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007679/0.009438, allocations: 100.1 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-05/0.009527, allocations: 20 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.009919, allocations: 155.7 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.01003, allocations: 67.73 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.01015, allocations: 59.83 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006621/0.01082, allocations: 322.9 kB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01082, allocations: 0 / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.838e-06/0.01082, allocations: 4 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.01083, allocations: 0 / 276.5 MB, free: 13.62 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.001514/0.01235, allocations: 494.2 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.0124, allocations: 12.03 kB / 277 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/0.01273, allocations: 44.78 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.01309, allocations: 189.3 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.01314, allocations: 16.66 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.01319, allocations: 20.38 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.01377, allocations: 196.3 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.01378, allocations: 3.938 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.01381, allocations: 8 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.01382, allocations: 4 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.01436, allocations: 160.3 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.01563, allocations: 468.8 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.01703, allocations: 290.7 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.01738, allocations: 108.8 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.0174, allocations: 8 kB / 278.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/0.01787, allocations: 163.2 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/0.01787, allocations: 0 / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.001713/0.01958, allocations: 364.2 kB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.01966, allocations: 55.41 kB / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.02004, allocations: 211.5 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.02011, allocations: 37.7 kB / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.02027, allocations: 136.5 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.02038, allocations: 67.44 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.02057, allocations: 77.94 kB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000626/0.02119, allocations: 326.8 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/0.02175, allocations: 135.7 kB / 280 MB, free: 9.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.02236, allocations: 161.6 kB / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.0234, allocations: 275.3 kB / 280.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.0234, allocations: 0 / 280.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001343/0.02475, allocations: 391.8 kB / 280.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.02478, allocations: 10.75 kB / 280.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.02479, allocations: 3.984 kB / 280.8 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/0.02483, allocations: 4 kB / 280.8 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.02527, allocations: 67.89 kB / 280.9 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.02528, allocations: 32 / 280.9 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.02554, allocations: 47.75 kB / 281 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.02558, allocations: 12 kB / 281 MB, free: 8.973 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,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.000253/0.02584, allocations: 145.8 kB / 281.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.02591, allocations: 23.84 kB / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.721e-05/0.026, allocations: 21.95 kB / 281.2 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.02601, allocations: 7.984 kB / 281.2 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.02602, allocations: 4 kB / 281.2 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.02602, allocations: 0 / 281.2 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.02775, allocations: 0.5213 MB / 281.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.02776, allocations: 3.984 kB / 281.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.0281, allocations: 43.91 kB / 281.7 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.02811, allocations: 0 / 281.7 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.02815, allocations: 15.92 kB / 281.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.02815, allocations: 0 / 281.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.02815, allocations: 0 / 281.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.02974, allocations: 490.2 kB / 282.2 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.02979, allocations: 23.91 kB / 282.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.02985, allocations: 4 kB / 282.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.03011, allocations: 23.97 kB / 282.3 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.0302, allocations: 19.91 kB / 282.3 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.03022, allocations: 12 kB / 282.3 MB, free: 7.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002031/0.03043, allocations: 140.3 kB / 282.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03043, allocations: 0 / 282.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005749/0.031, allocations: 75.8 kB / 282.5 MB, free: 7.355 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.0008139/0.03182, allocations: 216 kB / 282.7 MB, free: 7.172 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.03295, allocations: 270.2 kB / 283 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.03295, allocations: 0 / 283 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004453/0.0334, allocations: 107.9 kB / 283.1 MB, free: 6.805 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.03393, allocations: 35.23 kB / 283.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.03542, allocations: 445.6 kB / 283.6 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.03563, allocations: 129.5 kB / 283.7 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.03583, allocations: 29.62 kB / 283.7 MB, free: 6.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.03594, allocations: 24.5 kB / 283.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03594, allocations: 0 / 283.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of Templates: time 0.01109/0.04703, allocations: 3.05 MB / 286.8 MB, free: 3.09 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=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.806950094993226]