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.001394/0.001394, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001515/0.001515, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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.435/1.435, allocations: 230.6 MB / 258.2 MB, free: 7.746 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+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 0.001539/0.001539, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2577, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002958/0.2606, allocations: 1.523 MB / 433.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.2633, allocations: 1.407 MB / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.2633, allocations: 3.938 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.2634, allocations: 15.88 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.611e-05/0.2635, allocations: 19.8 kB / 435.3 MB, free: 3.715 MB / 334.1 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.001038/0.2646, allocations: 398.8 kB / 435.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.2648, allocations: 135.6 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.2648, allocations: 5.688 kB / 435.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.2649, allocations: 63.7 kB / 435.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005777/0.2655, allocations: 82.17 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.2655, allocations: 12 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006963/0.2662, allocations: 459.1 kB / 436.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.2662, allocations: 39.84 kB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.501e-05/0.2663, allocations: 51.66 kB / 436.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005822/0.2669, allocations: 405.6 kB / 436.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2669, allocations: 0 / 436.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2669, allocations: 0 / 436.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2669, allocations: 0 / 436.9 MB, free: 2.098 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.0008174/0.2677, allocations: 460.7 kB / 437.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2677, allocations: 8.031 kB / 437.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.268, allocations: 28.83 kB / 437.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.2682, allocations: 152 kB / 437.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.2682, allocations: 8.359 kB / 437.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.2682, allocations: 20.06 kB / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.2685, allocations: 120.2 kB / 437.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2685, allocations: 0 / 437.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.2685, allocations: 7.984 kB / 437.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2685, allocations: 7.938 kB / 437.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.2687, allocations: 63.89 kB / 437.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.2694, allocations: 476.6 kB / 438.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.2698, allocations: 143.7 kB / 438.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.2699, allocations: 62.55 kB / 438.4 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.2699, allocations: 0 / 438.4 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.2702, allocations: 160.7 kB / 438.6 MB, free: 256 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.2702, allocations: 0 / 438.6 MB, free: 256 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006289/0.2708, allocations: 253.7 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/0.2709, allocations: 118.8 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.2711, allocations: 195.2 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.2712, allocations: 49.69 kB / 439.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.2713, allocations: 108.5 kB / 439.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/0.2713, allocations: 43.69 kB / 439.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.2714, allocations: 57.69 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2716, allocations: 330.8 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.2718, allocations: 99.94 kB / 439.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.272, allocations: 148.1 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.2724, allocations: 216.3 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2724, allocations: 0 / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005597/0.273, allocations: 309.4 kB / 440.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.273, allocations: 8 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.273, allocations: 4 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.273, allocations: 0 / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.2732, allocations: 39.84 kB / 440.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2732, allocations: 0 / 440.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.202e-05/0.2733, allocations: 23.84 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.2733, allocations: 15.94 kB / 440.6 MB, free: 14.18 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.0001465/0.2735, allocations: 149.8 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.2735, allocations: 19.89 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.2735, allocations: 21.41 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2735, allocations: 0 / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2735, allocations: 0 / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2735, allocations: 4 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.2737, allocations: 145.2 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2737, allocations: 0 / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.12e-05/0.2738, allocations: 11.98 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2738, allocations: 4 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2738, allocations: 0 / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2738, allocations: 8 kB / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2738, allocations: 0 / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.2742, allocations: 254 kB / 441.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.2743, allocations: 19.91 kB / 441.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.2743, allocations: 11.98 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.2744, allocations: 4 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.2744, allocations: 15.97 kB / 441.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.2744, allocations: 4 kB / 441.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.2746, allocations: 149.2 kB / 441.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2746, allocations: 3.938 kB / 441.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004161/0.275, allocations: 127.6 kB / 441.5 MB, free: 13.18 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.0007907/0.2758, allocations: 342.9 kB / 441.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004429/0.2762, allocations: 183.8 kB / 442 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2762, allocations: 0 / 442 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.2764, allocations: 56.16 kB / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.2766, allocations: 22.95 kB / 442.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.2771, allocations: 273.1 kB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.2772, allocations: 106.4 kB / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.2772, allocations: 21.41 kB / 442.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.2773, allocations: 23.38 kB / 442.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2773, allocations: 0 / 442.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Templates: time 0.007989/0.2853, allocations: 3.728 MB / 446.2 MB, free: 8.441 MB / 350.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.395766065004864]