Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001599/0.001599, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002041/0.002041, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 59.91 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2557, allocations: 53.4 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002712/0.2584, allocations: 1.557 MB / 434 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.261, allocations: 1.523 MB / 435.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.261, allocations: 4 kB / 435.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.038e-05/0.2611, allocations: 7.875 kB / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.2612, allocations: 23.73 kB / 435.6 MB, free: 3.629 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.00113/0.2624, allocations: 406.7 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.2625, allocations: 131.7 kB / 436.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.2626, allocations: 5.688 kB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.794e-05/0.2627, allocations: 59.7 kB / 436.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006531/0.2633, allocations: 92.95 kB / 436.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.2633, allocations: 12 kB / 436.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007774/0.2641, allocations: 467.1 kB / 436.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.2642, allocations: 43.83 kB / 436.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.2643, allocations: 59.61 kB / 436.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.2649, allocations: 412 kB / 437.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2649, allocations: 4 kB / 437.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2649, allocations: 0 / 437.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.2649, allocations: 0 / 437.2 MB, free: 1.977 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.0008201/0.2657, allocations: 452.7 kB / 437.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2657, allocations: 12.03 kB / 437.7 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.266, allocations: 28.83 kB / 437.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.2662, allocations: 160.2 kB / 437.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.2662, allocations: 4.375 kB / 437.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.2662, allocations: 12.38 kB / 437.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.2665, allocations: 124.5 kB / 438 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2665, allocations: 3.938 kB / 438 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2665, allocations: 4 kB / 438 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.2665, allocations: 3.938 kB / 438 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.2667, allocations: 59.95 kB / 438.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007878/0.2675, allocations: 0.5311 MB / 438.6 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.2678, allocations: 151.7 kB / 438.7 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.268, allocations: 54.61 kB / 438.8 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.268, allocations: 0 / 438.8 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.2683, allocations: 160.3 kB / 438.9 MB, free: 64 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.183e-06/0.2683, allocations: 0 / 438.9 MB, free: 64 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006258/0.2689, allocations: 249.7 kB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.269, allocations: 114.7 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.2692, allocations: 207.1 kB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.2692, allocations: 41.7 kB / 439.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.127e-05/0.2693, allocations: 108.5 kB / 439.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.2693, allocations: 39.7 kB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/0.2694, allocations: 65.67 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2696, allocations: 334.8 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.2698, allocations: 99.95 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.27, allocations: 131.4 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.2704, allocations: 231.7 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2704, allocations: 0 / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005624/0.271, allocations: 297.4 kB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.271, allocations: 8 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.271, allocations: 0 / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.271, allocations: 4 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.2712, allocations: 36.02 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2712, allocations: 4 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.245e-05/0.2713, allocations: 27.77 kB / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2713, allocations: 8 kB / 440.9 MB, free: 14 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.0001544/0.2715, allocations: 153.7 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.2715, allocations: 15.91 kB / 441.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.2715, allocations: 17.41 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2715, allocations: 4 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2715, allocations: 3.984 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2716, allocations: 0 / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.2718, allocations: 192.5 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2718, allocations: 4 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.2718, allocations: 8 kB / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2718, allocations: 0 / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2718, allocations: 3.984 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2718, allocations: 4 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2718, allocations: 11.88 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.2723, allocations: 242.6 kB / 441.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.2723, allocations: 23.88 kB / 441.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.2723, allocations: 8 kB / 441.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.2724, allocations: 11.98 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.2725, allocations: 11.98 kB / 441.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.2725, allocations: 15.88 kB / 441.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.2726, allocations: 137.2 kB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2726, allocations: 0 / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.2731, allocations: 127.6 kB / 441.9 MB, free: 12.95 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.0007618/0.2738, allocations: 333.6 kB / 442.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004522/0.2743, allocations: 188.4 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2743, allocations: 0 / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.2744, allocations: 59.95 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.2746, allocations: 10.67 kB / 442.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006167/0.2752, allocations: 310.8 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.2756, allocations: 0.7279 MB / 443.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.2757, allocations: 15.44 kB / 443.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2757, allocations: 0 / 443.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Templates: time 0.007/0.2827, allocations: 3.946 MB / 447.5 MB, free: 7.34 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.016597607173026]