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.000796/0.000796, allocations: 84 kB / 21.43 MB, free: 3.137 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.00311/0.00311, allocations: 141.6 kB / 24.68 MB, free: 8.891 MB / 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.8654/0.8654, allocations: 173.4 MB / 201.2 MB, free: 9.441 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.243e-06/1.243e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.43e-05, allocations: 2.281 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.00155/0.001564, allocations: 1.512 MB / 321.2 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.003067, allocations: 1.352 MB / 322.6 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.003117, allocations: 0 / 322.6 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.326e-05/0.0032, allocations: 11.81 kB / 322.6 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.003281, allocations: 27.78 kB / 322.6 MB, free: 2.934 MB / 282.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.000746/0.004027, allocations: 406.4 kB / 323 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.004172, allocations: 135.5 kB / 323.1 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.004214, allocations: 5.688 kB / 323.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.793e-05/0.004292, allocations: 75.8 kB / 323.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.004679, allocations: 74.12 kB / 323.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.0047, allocations: 12 kB / 323.3 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.005125, allocations: 423 kB / 323.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.005175, allocations: 39.83 kB / 323.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.005223, allocations: 47.83 kB / 323.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.005653, allocations: 454.7 kB / 324.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005656, allocations: 0 / 324.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005657, allocations: 0 / 324.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.005661, allocations: 4 kB / 324.2 MB, free: 1.289 MB / 282.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.0005571/0.006218, allocations: 440.8 kB / 324.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.00625, allocations: 8.922 kB / 324.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.006382, allocations: 40.77 kB / 324.7 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.006492, allocations: 147.2 kB / 324.9 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.006509, allocations: 12.38 kB / 324.9 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.006523, allocations: 7.938 kB / 324.9 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.006689, allocations: 128.1 kB / 325 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.006697, allocations: 4 kB / 325 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.006712, allocations: 4 kB / 325 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.006716, allocations: 0 / 325 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.006825, allocations: 67.83 kB / 325.1 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.007278, allocations: 480.7 kB / 325.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.007479, allocations: 147.8 kB / 325.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.007545, allocations: 54.55 kB / 325.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.007554, allocations: 0 / 325.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.007752, allocations: 169.7 kB / 325.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.007753, allocations: 0 / 325.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003361/0.008089, allocations: 253.5 kB / 326.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.008176, allocations: 118.8 kB / 326.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.008298, allocations: 195.2 kB / 326.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.008323, allocations: 49.64 kB / 326.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.008377, allocations: 112.6 kB / 326.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.008407, allocations: 43.81 kB / 326.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.00846, allocations: 61.69 kB / 326.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.008541, allocations: 338.8 kB / 327.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.008726, allocations: 95.95 kB / 327.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.008859, allocations: 143.2 kB / 327.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.009082, allocations: 227.8 kB / 327.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.009085, allocations: 0 / 327.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000303/0.009388, allocations: 301.4 kB / 327.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.009403, allocations: 8 kB / 327.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009408, allocations: 0 / 327.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.009422, allocations: 4 kB / 327.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.009506, allocations: 27.92 kB / 327.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.009514, allocations: 11.94 kB / 327.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.009558, allocations: 28 kB / 327.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.009569, allocations: 8 kB / 327.9 MB, free: 13.37 MB / 298.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.81e-05/0.009667, allocations: 153.8 kB / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.009682, allocations: 15.86 kB / 328.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.009704, allocations: 17.47 kB / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.009707, allocations: 4 kB / 328.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.009712, allocations: 3.984 kB / 328.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.009714, allocations: 0 / 328.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.009815, allocations: 157.1 kB / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.009816, allocations: 0 / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.009841, allocations: 11.94 kB / 328.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.009842, allocations: 0 / 328.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.009851, allocations: 7.984 kB / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.009852, allocations: 0 / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.009853, allocations: 0 / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.01006, allocations: 241.1 kB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.01008, allocations: 23.84 kB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.0101, allocations: 12 kB / 328.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.89e-05/0.01013, allocations: 7.984 kB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.01017, allocations: 15.98 kB / 328.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.01018, allocations: 0 / 328.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.44e-05/0.01025, allocations: 149.1 kB / 328.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01025, allocations: 0 / 328.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.01048, allocations: 127.6 kB / 328.8 MB, free: 12.38 MB / 298.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.0005596/0.01104, allocations: 344.5 kB / 329.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.0113, allocations: 196.4 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.0113, allocations: 0 / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.01137, allocations: 63.84 kB / 329.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.01149, allocations: 8 kB / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.01182, allocations: 302 kB / 329.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.187e-05/0.01188, allocations: 111 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.01191, allocations: 16.5 kB / 329.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01191, allocations: 0 / 329.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of Templates: time 0.003826/0.01574, allocations: 3.935 MB / 333.8 MB, free: 7.391 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.549678273499012]