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.001398/0.001398, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001355/0.001355, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.572/1.572, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001649/0.001649, allocations: 47.92 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1275, allocations: 53.34 MB / 426.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002986/0.1305, allocations: 1.548 MB / 428.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1333, allocations: 1.496 MB / 429.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.1333, allocations: 0 / 429.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.1334, allocations: 11.88 kB / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.87e-05/0.1335, allocations: 31.72 kB / 429.9 MB, free: 1.18 MB / 350.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.001158/0.1347, allocations: 386.8 kB / 430.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1349, allocations: 131.6 kB / 430.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.1349, allocations: 5.5 kB / 430.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.135, allocations: 59.75 kB / 430.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006064/0.1356, allocations: 97.83 kB / 430.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.1356, allocations: 12 kB / 430.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007243/0.1364, allocations: 423.2 kB / 431 MB, free: 88 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.652e-05/0.1364, allocations: 47.77 kB / 431 MB, free: 40 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2485/0.3849, allocations: 48.62 kB / 431.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.386, allocations: 411.7 kB / 431.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.386, allocations: 0 / 431.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.386, allocations: 0 / 431.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.386, allocations: 0 / 431.5 MB, free: 8.324 MB / 350.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.0008066/0.3868, allocations: 0.5195 MB / 432 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.3869, allocations: 10.31 kB / 432 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.3872, allocations: 31.02 kB / 432 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.3873, allocations: 212 kB / 432.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3873, allocations: 6.891 kB / 432.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.3874, allocations: 13.33 kB / 432.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.3877, allocations: 129.8 kB / 432.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3877, allocations: 0.5625 kB / 432.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.3877, allocations: 5.781 kB / 432.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.3877, allocations: 1.125 kB / 432.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.388, allocations: 63 kB / 432.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.3887, allocations: 0.5429 MB / 433 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.3891, allocations: 150.7 kB / 433.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.3893, allocations: 59.52 kB / 433.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.3893, allocations: 3.328 kB / 433.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.3897, allocations: 152.6 kB / 433.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.435e-06/0.3897, allocations: 4.281 kB / 433.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007629/0.3904, allocations: 246.9 kB / 433.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.3905, allocations: 123.7 kB / 433.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.3907, allocations: 197.9 kB / 433.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.3908, allocations: 50.88 kB / 434 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.3909, allocations: 108.9 kB / 434.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.3909, allocations: 46.83 kB / 434.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.391, allocations: 56.48 kB / 434.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3912, allocations: 335.8 kB / 434.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.3914, allocations: 100.3 kB / 434.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.3917, allocations: 133.1 kB / 434.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.3922, allocations: 225.1 kB / 435 MB, free: 6.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3922, allocations: 3.031 kB / 435 MB, free: 6.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006309/0.3928, allocations: 306.5 kB / 435.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.3928, allocations: 5.5 kB / 435.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3928, allocations: 1.938 kB / 435.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.3928, allocations: 2.75 kB / 435.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.393, allocations: 35.91 kB / 435.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.393, allocations: 2.172 kB / 435.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3932, allocations: 27.58 kB / 435.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.3932, allocations: 11.62 kB / 435.3 MB, free: 6.117 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.0001762/0.3934, allocations: 145.3 kB / 435.5 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.3934, allocations: 17.92 kB / 435.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.3934, allocations: 22.03 kB / 435.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3934, allocations: 1.125 kB / 435.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.3935, allocations: 4.75 kB / 435.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3935, allocations: 1.125 kB / 435.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.3937, allocations: 223.6 kB / 435.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3937, allocations: 1.594 kB / 435.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.3937, allocations: 13.52 kB / 435.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3937, allocations: 1.062 kB / 435.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3937, allocations: 4.234 kB / 435.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3937, allocations: 2.094 kB / 435.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3937, allocations: 1 kB / 435.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.3941, allocations: 252.4 kB / 436 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.3942, allocations: 95.53 kB / 436.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.3942, allocations: 11.75 kB / 436.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.3943, allocations: 6.812 kB / 436.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.3944, allocations: 21.52 kB / 436.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3944, allocations: 4.75 kB / 436.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.3945, allocations: 142.7 kB / 436.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3945, allocations: 0 / 436.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005771/0.3951, allocations: 127.2 kB / 436.4 MB, free: 5.473 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.0008228/0.3959, allocations: 324.6 kB / 436.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006216/0.3965, allocations: 189.7 kB / 436.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3965, allocations: 1.031 kB / 436.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.3967, allocations: 60.31 kB / 437 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.3969, allocations: 14.55 kB / 437 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.3976, allocations: 279.9 kB / 437.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.3979, allocations: 0.7261 MB / 438 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.733e-05/0.3979, allocations: 19.28 kB / 438 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.398, allocations: 16.44 kB / 438 MB, free: 4.461 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.398, allocations: 1.125 kB / 438 MB, free: 4.461 MB / 350.1 MB Notification: Performance of Templates: time 0.01002/0.408, allocations: 3.575 MB / 441.6 MB, free: 4.18 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: 5.177767526358366]