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.001221/0.001221, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00143/0.00143, allocations: 161 kB / 24.56 MB, free: 16 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.042/1.042, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.513e-06/1.513e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.826e-05, allocations: 6.25 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.001868/0.001886, allocations: 1.565 MB / 274.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.003765, allocations: 1.442 MB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.003826, allocations: 4 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.003927, allocations: 7.875 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.173e-05/0.004019, allocations: 31.73 kB / 276 MB, free: 14.46 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.0008696/0.004888, allocations: 406.5 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.005032, allocations: 135.5 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.005077, allocations: 5.688 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.748e-05/0.005154, allocations: 75.8 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004327/0.005587, allocations: 84.25 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.005615, allocations: 12 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/0.006146, allocations: 446.9 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.006199, allocations: 31.84 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.006246, allocations: 39.91 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.006735, allocations: 438.6 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006737, allocations: 0 / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006738, allocations: 0 / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.006742, allocations: 0 / 277.7 MB, free: 12.84 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005982/0.00734, allocations: 0.5381 MB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.007375, allocations: 8.031 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.007543, allocations: 48.8 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.007684, allocations: 162.7 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.007702, allocations: 8.375 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.007719, allocations: 12.38 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.007873, allocations: 101.2 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.007883, allocations: 3.938 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.007896, allocations: 4 kB / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.007903, allocations: 0 / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.014e-05/0.007953, allocations: 23.92 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.008441, allocations: 0.6068 MB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.008587, allocations: 121.1 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.008629, allocations: 43.12 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.008637, allocations: 0 / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.008777, allocations: 137.6 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 9.01e-07/0.008778, allocations: 0 / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002633/0.009041, allocations: 165.6 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.009094, allocations: 114.8 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.009232, allocations: 242.7 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.009257, allocations: 49.69 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.009321, allocations: 159.4 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.009354, allocations: 47.67 kB / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.009417, allocations: 67.34 kB / 280.3 MB, free: 9.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.009531, allocations: 0.5001 MB / 280.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.009594, allocations: 39.97 kB / 280.8 MB, free: 9.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.158e-05/0.009675, allocations: 90.66 kB / 280.9 MB, free: 9.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.009804, allocations: 123.2 kB / 281.1 MB, free: 9.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.009807, allocations: 3.938 kB / 281.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002049/0.01001, allocations: 197.4 kB / 281.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.01002, allocations: 7.984 kB / 281.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01003, allocations: 0 / 281.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01005, allocations: 4 kB / 281.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.01017, allocations: 47.92 kB / 281.3 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01018, allocations: 0 / 281.3 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.01022, allocations: 27.77 kB / 281.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.01024, allocations: 8 kB / 281.3 MB, free: 8.84 MB / 266.7 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 9.654e-05/0.01033, allocations: 192.5 kB / 281.5 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.01035, allocations: 19.89 kB / 281.6 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.01038, allocations: 13.47 kB / 281.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01038, allocations: 0 / 281.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01038, allocations: 0 / 281.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.01039, allocations: 4 kB / 281.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.01051, allocations: 164.5 kB / 281.7 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01051, allocations: 0 / 281.7 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.01053, allocations: 11.98 kB / 281.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01053, allocations: 0 / 281.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.01054, allocations: 8 kB / 281.8 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01054, allocations: 4 kB / 281.8 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01054, allocations: 0 / 281.8 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.01072, allocations: 203.5 kB / 282 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.01074, allocations: 19.84 kB / 282 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.01076, allocations: 11.98 kB / 282 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.581e-05/0.01079, allocations: 4.094 kB / 282 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.01084, allocations: 19.95 kB / 282 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.01084, allocations: 4 kB / 282 MB, free: 8.098 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.138e-05/0.01092, allocations: 177 kB / 282.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01092, allocations: 4 kB / 282.2 MB, free: 7.922 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.0112, allocations: 127.5 kB / 282.3 MB, free: 7.797 MB / 266.7 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.0005442/0.01174, allocations: 353.2 kB / 282.7 MB, free: 7.473 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.01192, allocations: 104.4 kB / 282.8 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01193, allocations: 0 / 282.8 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.88e-05/0.01198, allocations: 43.7 kB / 282.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.01213, allocations: 24.02 kB / 282.8 MB, free: 7.297 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.01252, allocations: 280.2 kB / 283.1 MB, free: 6.988 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.874e-05/0.01256, allocations: 71.83 kB / 283.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.218e-05/0.0126, allocations: 17.48 kB / 283.2 MB, free: 6.883 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.01264, allocations: 20.5 kB / 283.2 MB, free: 6.863 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01264, allocations: 0 / 283.2 MB, free: 6.863 MB / 266.7 MB Notification: Performance of Templates: time 0.005717/0.01836, allocations: 3.744 MB / 287 MB, free: 3.137 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2160976859740913]