Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001984/0.001984, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002376/0.002376, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.503/1.503, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 72.02 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.279, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003109/0.2821, allocations: 1.557 MB / 433.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.2851, allocations: 1.52 MB / 435.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.2852, allocations: 0 / 435.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.2853, allocations: 7.875 kB / 435.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.2854, allocations: 27.73 kB / 435.2 MB, free: 4.258 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.001435/0.2868, allocations: 394.8 kB / 435.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.2871, allocations: 131.6 kB / 435.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.212e-05/0.2872, allocations: 13.47 kB / 435.7 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/0.2872, allocations: 51.78 kB / 435.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008044/0.288, allocations: 89.2 kB / 435.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.2881, allocations: 12 kB / 435.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008569/0.2889, allocations: 427.2 kB / 436.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.958e-05/0.289, allocations: 39.84 kB / 436.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.901e-05/0.2891, allocations: 63.59 kB / 436.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009339/0.2901, allocations: 416.7 kB / 436.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.2901, allocations: 0 / 436.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.2901, allocations: 0 / 436.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.2901, allocations: 0 / 436.8 MB, free: 2.656 MB / 334.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.001257/0.2914, allocations: 0.5174 MB / 437.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.2914, allocations: 11.97 kB / 437.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.2917, allocations: 36.77 kB / 437.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.292, allocations: 209.8 kB / 437.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.292, allocations: 12.38 kB / 437.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.2921, allocations: 12.12 kB / 437.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.2924, allocations: 131.1 kB / 437.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2924, allocations: 0 / 437.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.2925, allocations: 3.984 kB / 437.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2925, allocations: 0 / 437.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.2927, allocations: 63.95 kB / 437.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009878/0.2937, allocations: 0.5476 MB / 438.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.2941, allocations: 143.9 kB / 438.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.2942, allocations: 62.59 kB / 438.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.2942, allocations: 8 kB / 438.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000359/0.2946, allocations: 145.8 kB / 438.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.2946, allocations: 0 / 438.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006479/0.2952, allocations: 249.4 kB / 438.9 MB, free: 308 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.2953, allocations: 126.7 kB / 439 MB, free: 156 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.2956, allocations: 195.2 kB / 439.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/0.2956, allocations: 49.69 kB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.2958, allocations: 104.6 kB / 439.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.2959, allocations: 43.69 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.296, allocations: 61.72 kB / 439.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.2962, allocations: 334.8 kB / 439.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.2965, allocations: 99.94 kB / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.2967, allocations: 140.8 kB / 440 MB, free: 15.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.2972, allocations: 224.2 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2972, allocations: 0 / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007031/0.2979, allocations: 297.4 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.298, allocations: 8 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.298, allocations: 4.094 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.298, allocations: 4 kB / 440.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.2982, allocations: 31.91 kB / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.2982, allocations: 4 kB / 440.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.2983, allocations: 31.72 kB / 440.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.2983, allocations: 4 kB / 440.6 MB, free: 14.49 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.0002102/0.2985, allocations: 153.8 kB / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.2986, allocations: 19.89 kB / 440.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.2986, allocations: 17.34 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2986, allocations: 4 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.2986, allocations: 0 / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2986, allocations: 3.938 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.2989, allocations: 217.5 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2989, allocations: 4 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.546e-05/0.299, allocations: 15.92 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.299, allocations: 0 / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.299, allocations: 4 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.299, allocations: 8 kB / 441.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.299, allocations: 0 / 441.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.2994, allocations: 246.5 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.2995, allocations: 96.95 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.2996, allocations: 15.98 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.2996, allocations: 4 kB / 441.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.2997, allocations: 19.92 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.2997, allocations: 7.984 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.2999, allocations: 137.2 kB / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2999, allocations: 0 / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005407/0.3004, allocations: 127.6 kB / 441.7 MB, free: 13.31 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.0009242/0.3013, allocations: 339.4 kB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004889/0.3018, allocations: 191.8 kB / 442.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3018, allocations: 0 / 442.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.302, allocations: 51.91 kB / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.3022, allocations: 15.98 kB / 442.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.3028, allocations: 289 kB / 442.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.3032, allocations: 0.7201 MB / 443.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.523e-05/0.3033, allocations: 25.34 kB / 443.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.3033, allocations: 15.44 kB / 443.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3033, allocations: 0 / 443.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Templates: time 0.008789/0.3121, allocations: 3.595 MB / 446.9 MB, free: 8.059 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.820427800063044]