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.0009245/0.0009245, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.0008837/0.0008837, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.9746/0.9746, allocations: 173.3 MB / 201.1 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] 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 1.683e-06/1.683e-06, allocations: 0 / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.093e-05, allocations: 6.25 kB / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002012/0.002033, allocations: 1.54 MB / 269.5 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.003857, allocations: 1.403 MB / 271 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.16e-05/0.003909, allocations: 0 / 271 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.004011, allocations: 7.875 kB / 271 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.886e-05/0.004099, allocations: 35.78 kB / 271 MB, free: 3.398 MB / 250.7 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.0007532/0.004853, allocations: 402.4 kB / 271.4 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.004987, allocations: 131.6 kB / 271.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.005029, allocations: 5.688 kB / 271.5 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.861e-05/0.005107, allocations: 79.73 kB / 271.6 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003833/0.00549, allocations: 87.44 kB / 271.7 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.005515, allocations: 12 kB / 271.7 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.005979, allocations: 427 kB / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.006029, allocations: 39.84 kB / 272.2 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.006077, allocations: 47.83 kB / 272.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.006521, allocations: 422.7 kB / 272.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.006523, allocations: 0 / 272.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.006524, allocations: 0 / 272.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.006529, allocations: 0 / 272.6 MB, free: 1.785 MB / 250.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.000586/0.007114, allocations: 0.5381 MB / 273.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.007151, allocations: 8.922 kB / 273.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.007316, allocations: 36.77 kB / 273.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.007453, allocations: 165.9 kB / 273.4 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.007475, allocations: 12.36 kB / 273.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.007496, allocations: 11.94 kB / 273.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.007672, allocations: 96.66 kB / 273.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.007681, allocations: 0 / 273.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.007693, allocations: 7.984 kB / 273.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.007702, allocations: 0 / 273.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.007758, allocations: 27.91 kB / 273.5 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.008268, allocations: 0.6107 MB / 274.1 MB, free: 148 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.008403, allocations: 109.2 kB / 274.2 MB, free: 0 / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.008458, allocations: 43.11 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.00847, allocations: 0 / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.008629, allocations: 128 kB / 274.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 9.51e-07/0.00863, allocations: 4 kB / 274.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002693/0.008899, allocations: 169.5 kB / 274.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.008958, allocations: 118.8 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.00912, allocations: 242.7 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.009149, allocations: 45.69 kB / 275 MB, free: 15.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.009218, allocations: 155.4 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.009254, allocations: 43.69 kB / 275.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.009319, allocations: 71.28 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.009454, allocations: 0.5039 MB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/0.00952, allocations: 35.98 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.01e-05/0.00961, allocations: 102.6 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.009746, allocations: 123.2 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.00975, allocations: 0 / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002224/0.009972, allocations: 197.4 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.009994, allocations: 4 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.01, allocations: 0 / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.01002, allocations: 4 kB / 276.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.01017, allocations: 48 kB / 276.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.01018, allocations: 4 kB / 276.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.01023, allocations: 19.83 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.01024, allocations: 12 kB / 276.3 MB, free: 13.8 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.0001164/0.01036, allocations: 184.5 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.01038, allocations: 23.86 kB / 276.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.01042, allocations: 17.45 kB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01042, allocations: 0 / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.01043, allocations: 4 kB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.01043, allocations: 4 kB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.01058, allocations: 160.5 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.01058, allocations: 0 / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.0106, allocations: 8 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.0106, allocations: 96 / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01062, allocations: 19.91 kB / 276.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.01062, allocations: 0 / 276.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01062, allocations: 0 / 276.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.0108, allocations: 205.5 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.01082, allocations: 15.91 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.01084, allocations: 12 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.929e-05/0.01087, allocations: 7.984 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.01093, allocations: 7.984 kB / 276.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01094, allocations: 8 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.08e-05/0.01102, allocations: 181 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01102, allocations: 0 / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.01128, allocations: 123.6 kB / 277.2 MB, free: 12.76 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.0005797/0.01186, allocations: 367 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.01206, allocations: 115.6 kB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01207, allocations: 0 / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.08e-05/0.01212, allocations: 39.61 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.01228, allocations: 15.98 kB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.01268, allocations: 272 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.933e-05/0.01273, allocations: 75.64 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.302e-05/0.01278, allocations: 29.66 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.01282, allocations: 20.5 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01282, allocations: 0 / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of Templates: time 0.005161/0.01798, allocations: 3.644 MB / 281.8 MB, free: 8.188 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 240] 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","",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.0109875057823956]