Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.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.001779/0.001779, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002277/0.002277, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.582/1.582, 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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 47.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3493, allocations: 53.37 MB / 431.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003268/0.3526, allocations: 1.52 MB / 433.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002762/0.3554, allocations: 1.399 MB / 434.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.3555, allocations: 4 kB / 434.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.516e-05/0.3556, allocations: 15.75 kB / 434.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.3557, allocations: 19.8 kB / 434.5 MB, free: 3.707 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.001216/0.3569, allocations: 402.8 kB / 434.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.3571, allocations: 135.6 kB / 435.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.368e-05/0.3572, allocations: 9.484 kB / 435.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.3572, allocations: 55.77 kB / 435.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007267/0.358, allocations: 81.64 kB / 435.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.358, allocations: 12 kB / 435.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008782/0.3589, allocations: 435.2 kB / 435.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.573e-05/0.359, allocations: 43.78 kB / 435.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.817e-05/0.3591, allocations: 51.72 kB / 435.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007459/0.3598, allocations: 401.2 kB / 436.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3598, allocations: 4 kB / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.3598, allocations: 0 / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.3598, allocations: 4 kB / 436.1 MB, free: 2.113 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000994/0.3608, allocations: 456.7 kB / 436.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3609, allocations: 8.031 kB / 436.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.3611, allocations: 28.83 kB / 436.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.3613, allocations: 155.9 kB / 436.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3613, allocations: 8.359 kB / 436.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.3614, allocations: 16.12 kB / 436.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.3617, allocations: 128.1 kB / 436.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3617, allocations: 0 / 436.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3617, allocations: 0 / 436.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3617, allocations: 7.938 kB / 436.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.3619, allocations: 63.89 kB / 437 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/0.3628, allocations: 476.6 kB / 437.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.3631, allocations: 151.7 kB / 437.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.3633, allocations: 54.78 kB / 437.7 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.3633, allocations: 3.984 kB / 437.7 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.3636, allocations: 153.8 kB / 437.8 MB, free: 276 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.3636, allocations: 3.938 kB / 437.8 MB, free: 272 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006003/0.3642, allocations: 253.4 kB / 438.1 MB, free: 12 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3643, allocations: 118.8 kB / 438.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3645, allocations: 195.2 kB / 438.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.3645, allocations: 53.67 kB / 438.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.3646, allocations: 104.6 kB / 438.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.3647, allocations: 43.69 kB / 438.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.106e-05/0.3647, allocations: 61.67 kB / 438.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3649, allocations: 338.9 kB / 439 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.3651, allocations: 95.95 kB / 439.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.3653, allocations: 140.1 kB / 439.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.3657, allocations: 220.2 kB / 439.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3657, allocations: 0 / 439.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006015/0.3663, allocations: 309.4 kB / 439.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3664, allocations: 4 kB / 439.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3664, allocations: 4 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.3664, allocations: 7.922 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.3666, allocations: 31.92 kB / 439.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3666, allocations: 0 / 439.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.3667, allocations: 23.84 kB / 439.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.3667, allocations: 20.02 kB / 439.8 MB, free: 14.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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.0001792/0.3669, allocations: 145.8 kB / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.3669, allocations: 15.91 kB / 440 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.3669, allocations: 13.41 kB / 440 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3669, allocations: 0 / 440 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.367, allocations: 4 kB / 440 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.367, allocations: 0 / 440 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.3672, allocations: 149.2 kB / 440.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3672, allocations: 0 / 440.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.3672, allocations: 19.92 kB / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3672, allocations: 4 kB / 440.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3672, allocations: 0 / 440.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.525e-06/0.3673, allocations: 7.984 kB / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3673, allocations: 0 / 440.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.3677, allocations: 254.4 kB / 440.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.3677, allocations: 16 kB / 440.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.3678, allocations: 11.98 kB / 440.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.3678, allocations: 11.98 kB / 440.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.3679, allocations: 15.97 kB / 440.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3679, allocations: 4 kB / 440.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.3681, allocations: 149.1 kB / 440.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3681, allocations: 96 / 440.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004988/0.3686, allocations: 127.5 kB / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008543/0.3694, allocations: 335 kB / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004764/0.3699, allocations: 191.8 kB / 441.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3699, allocations: 0 / 441.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.3701, allocations: 67.88 kB / 441.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.3703, allocations: 10.81 kB / 441.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.3709, allocations: 273.1 kB / 441.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.371, allocations: 106.6 kB / 441.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.299e-05/0.371, allocations: 25.41 kB / 441.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.3711, allocations: 15.44 kB / 441.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3711, allocations: 0 / 441.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Templates: time 0.008537/0.3796, allocations: 3.721 MB / 445.5 MB, free: 8.469 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.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: 4.984147595241666]