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.001498/0.001498, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001714/0.001714, allocations: 206.6 kB / 24.47 MB, free: 3.977 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 2.166/2.166, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001768/0.001768, allocations: 43.94 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3439, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003837/0.3477, allocations: 1.527 MB / 433.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00526/0.353, allocations: 1.395 MB / 435.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.3531, allocations: 0 / 435.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.3533, allocations: 15.81 kB / 435.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.3534, allocations: 23.78 kB / 435.3 MB, free: 3.766 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.0017/0.3551, allocations: 410.7 kB / 435.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.3554, allocations: 131.6 kB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.746e-05/0.3555, allocations: 9.672 kB / 435.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.3556, allocations: 51.78 kB / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008434/0.3564, allocations: 97.34 kB / 436 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.3565, allocations: 12 kB / 436 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.3575, allocations: 447.2 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.3576, allocations: 43.83 kB / 436.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.454e-05/0.3577, allocations: 55.67 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009124/0.3586, allocations: 409.6 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3586, allocations: 0 / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3586, allocations: 0 / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.3586, allocations: 3.938 kB / 436.9 MB, free: 2.133 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.0009893/0.3596, allocations: 452.8 kB / 437.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3597, allocations: 8.031 kB / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/0.36, allocations: 32.81 kB / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.3602, allocations: 151.9 kB / 437.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.3603, allocations: 12.38 kB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.3603, allocations: 12.12 kB / 437.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.3607, allocations: 128.1 kB / 437.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3607, allocations: 0 / 437.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.3607, allocations: 0 / 437.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3607, allocations: 0 / 437.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.361, allocations: 67.89 kB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009881/0.362, allocations: 480.6 kB / 438.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.3625, allocations: 143.7 kB / 438.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.3627, allocations: 62.59 kB / 438.4 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.3627, allocations: 4 kB / 438.4 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.3631, allocations: 153.8 kB / 438.6 MB, free: 300 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.3631, allocations: 0 / 438.6 MB, free: 300 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008346/0.3639, allocations: 253.5 kB / 438.8 MB, free: 40 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.364, allocations: 114.8 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.3643, allocations: 211 kB / 439.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.3644, allocations: 41.7 kB / 439.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3645, allocations: 108.5 kB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.3645, allocations: 47.81 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.3647, allocations: 61.69 kB / 439.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3649, allocations: 334.8 kB / 439.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.3651, allocations: 91.95 kB / 439.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.3654, allocations: 140.1 kB / 440 MB, free: 14.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.3659, allocations: 224.2 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.366, allocations: 0 / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007598/0.3667, allocations: 309.3 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.3667, allocations: 4 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3667, allocations: 0 / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.3668, allocations: 4 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.367, allocations: 31.98 kB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.367, allocations: 4.094 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3671, allocations: 31.77 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.3671, allocations: 15.94 kB / 440.6 MB, free: 14.21 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.0002078/0.3673, allocations: 141.8 kB / 440.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.3674, allocations: 15.91 kB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.3674, allocations: 13.41 kB / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3674, allocations: 0 / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.3674, allocations: 7.922 kB / 440.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3675, allocations: 8 kB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.3677, allocations: 149.1 kB / 440.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3677, allocations: 3.938 kB / 440.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.516e-05/0.3678, allocations: 8 kB / 440.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.3678, allocations: 4 kB / 440.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.3678, allocations: 7.984 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.3678, allocations: 4 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3678, allocations: 0 / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.3683, allocations: 249.2 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.3684, allocations: 23.89 kB / 441.2 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.3684, allocations: 8 kB / 441.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.434e-05/0.3685, allocations: 11.98 kB / 441.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.3686, allocations: 8.078 kB / 441.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.3686, allocations: 8 kB / 441.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.3688, allocations: 145.1 kB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3688, allocations: 0 / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006386/0.3694, allocations: 131.6 kB / 441.5 MB, free: 13.22 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.001035/0.3705, allocations: 342.4 kB / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000626/0.3711, allocations: 190.6 kB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3711, allocations: 3.938 kB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.3713, allocations: 55.91 kB / 442.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.3715, allocations: 8 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.3722, allocations: 281.2 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.3723, allocations: 110.7 kB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.658e-05/0.3724, allocations: 21.42 kB / 442.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.3725, allocations: 19.44 kB / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3725, allocations: 0 / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of Templates: time 0.01057/0.383, allocations: 3.728 MB / 446.2 MB, free: 8.48 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/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: 6.9272004069935065]