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.00112/0.00112, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001168/0.001168, allocations: 170.6 kB / 24.99 MB, free: 8.793 MB / 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.082/1.082, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.973e-06/1.973e-06, allocations: 0 / 273.1 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.26e-05, allocations: 2.312 kB / 273.1 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002518/0.00255, allocations: 1.569 MB / 274.6 MB, free: 220 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.004844, allocations: 1.43 MB / 276.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.004946, allocations: 0 / 276.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.005077, allocations: 11.88 kB / 276.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.005183, allocations: 31.72 kB / 276.1 MB, free: 14.73 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.001351/0.006534, allocations: 402.5 kB / 276.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.006751, allocations: 135.5 kB / 276.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.271e-05/0.006813, allocations: 5.688 kB / 276.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.835e-05/0.006912, allocations: 79.8 kB / 276.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005699/0.007482, allocations: 91.72 kB / 276.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.007532, allocations: 8 kB / 276.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008802/0.008412, allocations: 446.9 kB / 277.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.008499, allocations: 39.83 kB / 277.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.845e-05/0.008568, allocations: 35.86 kB / 277.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009004/0.009468, allocations: 438.6 kB / 277.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.009473, allocations: 0 / 277.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.009475, allocations: 0 / 277.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.009482, allocations: 0 / 277.8 MB, free: 13.1 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.0008945/0.01038, allocations: 0.5381 MB / 278.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.01043, allocations: 12.03 kB / 278.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.01067, allocations: 40.81 kB / 278.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.01086, allocations: 166.7 kB / 278.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.0109, allocations: 8.375 kB / 278.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.01093, allocations: 8.375 kB / 278.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.01117, allocations: 101.2 kB / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.01118, allocations: 7.938 kB / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.01119, allocations: 0 / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.0112, allocations: 4 kB / 278.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.212e-05/0.01127, allocations: 23.92 kB / 278.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008263/0.0121, allocations: 0.5951 MB / 279.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.01229, allocations: 121.2 kB / 279.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.01234, allocations: 39.06 kB / 279.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.01235, allocations: 7.938 kB / 279.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.01254, allocations: 138.9 kB / 279.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.01255, allocations: 4 kB / 279.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003956/0.01294, allocations: 165.4 kB / 279.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.01305, allocations: 114.8 kB / 279.8 MB, free: 10.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.01326, allocations: 238.7 kB / 280.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.0133, allocations: 49.69 kB / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.0134, allocations: 155.3 kB / 280.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.01346, allocations: 47.67 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.763e-05/0.01355, allocations: 67.34 kB / 280.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.01374, allocations: 0.4962 MB / 280.9 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.01384, allocations: 52.03 kB / 280.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.01395, allocations: 86.72 kB / 281 MB, free: 9.539 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.01415, allocations: 127.1 kB / 281.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.01416, allocations: 0 / 281.1 MB, free: 9.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002873/0.01444, allocations: 197.4 kB / 281.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.01447, allocations: 7.984 kB / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.01448, allocations: 0 / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.0145, allocations: 8.094 kB / 281.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.01467, allocations: 43.92 kB / 281.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.01468, allocations: 0 / 281.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.01474, allocations: 35.75 kB / 281.4 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.01475, allocations: 8 kB / 281.4 MB, free: 9.098 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 0.0001408/0.01489, allocations: 184.5 kB / 281.6 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.01492, allocations: 23.89 kB / 281.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.01496, allocations: 13.47 kB / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01496, allocations: 4 kB / 281.6 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.01497, allocations: 4 kB / 281.6 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01497, allocations: 0 / 281.6 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.01515, allocations: 156.5 kB / 281.8 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01515, allocations: 0 / 281.8 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.01519, allocations: 11.98 kB / 281.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.01519, allocations: 0 / 281.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.0152, allocations: 12 kB / 281.8 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01521, allocations: 0 / 281.8 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01521, allocations: 3.938 kB / 281.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.01544, allocations: 207.5 kB / 282 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.01547, allocations: 15.84 kB / 282 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.0155, allocations: 15.98 kB / 282.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.562e-05/0.01554, allocations: 0 / 282.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/0.01561, allocations: 19.91 kB / 282.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.01562, allocations: 8 kB / 282.1 MB, free: 8.355 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.01573, allocations: 173 kB / 282.3 MB, free: 8.188 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01573, allocations: 0 / 282.3 MB, free: 8.188 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005368/0.01626, allocations: 119.6 kB / 282.4 MB, free: 8.07 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.000912/0.01718, allocations: 359.8 kB / 282.7 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.01745, allocations: 116.1 kB / 282.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01746, allocations: 0 / 282.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.466e-05/0.01752, allocations: 43.66 kB / 282.9 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.01772, allocations: 19.88 kB / 282.9 MB, free: 7.555 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.01825, allocations: 279.9 kB / 283.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.137e-05/0.0183, allocations: 71.83 kB / 283.2 MB, free: 7.156 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.978e-05/0.01836, allocations: 21.92 kB / 283.3 MB, free: 7.137 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.01841, allocations: 20.5 kB / 283.3 MB, free: 7.117 MB / 266.7 MB Notification: Performance of SimCode: time 1.953e-06/0.01841, allocations: 0 / 283.3 MB, free: 7.117 MB / 266.7 MB Notification: Performance of Templates: time 0.006892/0.0253, allocations: 3.746 MB / 287 MB, free: 3.391 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.1607283730991185]