Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.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.00139/0.00139, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001483/0.001483, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 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 1.481/1.481, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 43.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3502, allocations: 52.13 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.004259/0.3544, allocations: 1.55 MB / 422.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.3574, allocations: 1.471 MB / 423.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.3574, allocations: 0 / 423.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.3576, allocations: 15.8 kB / 423.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.3577, allocations: 23.8 kB / 423.9 MB, free: 12.05 MB / 334.1 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.001394/0.3591, allocations: 382.8 kB / 424.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.3593, allocations: 131.7 kB / 424.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.82e-05/0.3594, allocations: 5.5 kB / 424.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3595, allocations: 63.69 kB / 424.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007895/0.3603, allocations: 86.16 kB / 424.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.3604, allocations: 12 kB / 424.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000946/0.3613, allocations: 427.2 kB / 425 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-05/0.3614, allocations: 47.77 kB / 425 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.507e-05/0.3615, allocations: 55.67 kB / 425.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009437/0.3624, allocations: 400 kB / 425.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3624, allocations: 3.938 kB / 425.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3624, allocations: 0 / 425.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3624, allocations: 0 / 425.5 MB, free: 10.48 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.001158/0.3636, allocations: 0.5174 MB / 426 MB, free: 9.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3636, allocations: 8.031 kB / 426 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.3639, allocations: 40.77 kB / 426.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.3642, allocations: 209.5 kB / 426.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.3642, allocations: 4 kB / 426.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3642, allocations: 12 kB / 426.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.3645, allocations: 124.2 kB / 426.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3645, allocations: 7.922 kB / 426.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3645, allocations: 4 kB / 426.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3646, allocations: 0 / 426.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.3648, allocations: 59.95 kB / 426.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008727/0.3656, allocations: 0.5477 MB / 427 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.366, allocations: 147.7 kB / 427.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.3661, allocations: 62.77 kB / 427.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.3662, allocations: 0 / 427.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003088/0.3665, allocations: 164.6 kB / 427.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.173e-06/0.3665, allocations: 0 / 427.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006327/0.3671, allocations: 245.4 kB / 427.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001995/0.3673, allocations: 118.8 kB / 427.7 MB, free: 7.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.3675, allocations: 199.1 kB / 427.9 MB, free: 7.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.3676, allocations: 53.8 kB / 428 MB, free: 7.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.3677, allocations: 112.5 kB / 428.1 MB, free: 7.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.3677, allocations: 43.69 kB / 428.1 MB, free: 7.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.3679, allocations: 57.69 kB / 428.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.3681, allocations: 330.8 kB / 428.5 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.3684, allocations: 99.95 kB / 428.6 MB, free: 7.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.3687, allocations: 147.2 kB / 428.8 MB, free: 6.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.3691, allocations: 224.5 kB / 429 MB, free: 6.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3691, allocations: 4 kB / 429 MB, free: 6.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005708/0.3697, allocations: 309.3 kB / 429.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.3697, allocations: 4 kB / 429.3 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3697, allocations: 0 / 429.3 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.3697, allocations: 7.938 kB / 429.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3699, allocations: 31.92 kB / 429.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3699, allocations: 4 kB / 429.3 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.37, allocations: 27.81 kB / 429.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.37, allocations: 8.094 kB / 429.4 MB, free: 6.297 MB / 334.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.0001812/0.3702, allocations: 157.6 kB / 429.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.3702, allocations: 15.91 kB / 429.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.3703, allocations: 13.48 kB / 429.5 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.3703, allocations: 11.92 kB / 429.6 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3703, allocations: 0 / 429.6 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3703, allocations: 0 / 429.6 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.3705, allocations: 217.5 kB / 429.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3705, allocations: 4 kB / 429.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.3706, allocations: 11.98 kB / 429.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3706, allocations: 0 / 429.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.3706, allocations: 4 kB / 429.8 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3706, allocations: 3.938 kB / 429.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3706, allocations: 3.938 kB / 429.8 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.3711, allocations: 246.6 kB / 430 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.718e-05/0.3712, allocations: 96.94 kB / 430.1 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.3712, allocations: 12 kB / 430.1 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.3713, allocations: 15.86 kB / 430.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.3713, allocations: 11.98 kB / 430.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3714, allocations: 7.938 kB / 430.2 MB, free: 5.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.3716, allocations: 141.2 kB / 430.3 MB, free: 5.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3716, allocations: 0 / 430.3 MB, free: 5.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005757/0.3721, allocations: 123.6 kB / 430.4 MB, free: 5.113 MB / 334.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.0009417/0.3731, allocations: 328.6 kB / 430.8 MB, free: 4.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000563/0.3736, allocations: 187.8 kB / 430.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3736, allocations: 0 / 430.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3738, allocations: 56.22 kB / 431 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.374, allocations: 15.5 kB / 431 MB, free: 4.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007318/0.3748, allocations: 292.7 kB / 431.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.3752, allocations: 0.7162 MB / 432 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.423e-05/0.3753, allocations: 25.41 kB / 432 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.3754, allocations: 15.44 kB / 432.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3754, allocations: 0 / 432.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of Templates: time 0.008773/0.3841, allocations: 3.505 MB / 435.6 MB, free: 15.96 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.76733944285661]