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.001668/0.001668, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001889/0.001889, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 8.023 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 51.92 kB / 377.8 MB, free: 3.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.273, allocations: 53.37 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002944/0.2759, allocations: 1.551 MB / 432.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.2787, allocations: 1.516 MB / 434.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.2788, allocations: 0 / 434.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.2789, allocations: 15.81 kB / 434.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.279, allocations: 23.78 kB / 434.2 MB, free: 3.727 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.00128/0.2803, allocations: 402.8 kB / 434.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.2806, allocations: 135.5 kB / 434.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.774e-05/0.2807, allocations: 9.672 kB / 434.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.2807, allocations: 51.78 kB / 434.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006654/0.2814, allocations: 92.42 kB / 434.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.2814, allocations: 15.94 kB / 434.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007888/0.2822, allocations: 471.1 kB / 435.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.2823, allocations: 35.91 kB / 435.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.306e-05/0.2824, allocations: 75.52 kB / 435.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007015/0.2831, allocations: 403.1 kB / 435.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2831, allocations: 3.938 kB / 435.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2831, allocations: 0 / 435.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2831, allocations: 0 / 435.9 MB, free: 2.07 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.0008879/0.284, allocations: 456.7 kB / 436.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.284, allocations: 8.031 kB / 436.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.463e-05/0.2841, allocations: 42.73 kB / 436.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.2844, allocations: 40.81 kB / 436.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.2846, allocations: 152 kB / 436.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.2846, allocations: 4.375 kB / 436.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.2846, allocations: 11.94 kB / 436.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.285, allocations: 134.5 kB / 436.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.285, allocations: 0 / 436.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.285, allocations: 0 / 436.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.285, allocations: 8 kB / 436.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.2852, allocations: 67.88 kB / 436.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008881/0.2861, allocations: 0.5312 MB / 437.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.2865, allocations: 143.8 kB / 437.5 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.2866, allocations: 58.62 kB / 437.5 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.2866, allocations: 3.984 kB / 437.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.287, allocations: 160.8 kB / 437.7 MB, free: 92 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.287, allocations: 0 / 437.7 MB, free: 92 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006454/0.2876, allocations: 249.4 kB / 437.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/0.2877, allocations: 114.8 kB / 438.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.2879, allocations: 203.1 kB / 438.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.288, allocations: 41.69 kB / 438.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9e-05/0.2881, allocations: 112.6 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.2881, allocations: 55.73 kB / 438.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.719e-05/0.2882, allocations: 61.62 kB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.2884, allocations: 330.8 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.2886, allocations: 95.95 kB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.2888, allocations: 136.1 kB / 439.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.2892, allocations: 224.2 kB / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2892, allocations: 0 / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005343/0.2898, allocations: 301.5 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.2898, allocations: 11.98 kB / 439.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2898, allocations: 0 / 439.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2898, allocations: 0 / 439.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.29, allocations: 39.86 kB / 439.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.29, allocations: 0 / 439.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.2901, allocations: 31.77 kB / 439.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.2901, allocations: 11.94 kB / 439.7 MB, free: 14.02 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,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],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]) * 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.0001594/0.2903, allocations: 153.8 kB / 439.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.2903, allocations: 15.91 kB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.2903, allocations: 17.41 kB / 439.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2903, allocations: 3.938 kB / 439.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.2903, allocations: 4 kB / 439.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2903, allocations: 3.984 kB / 439.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.2906, allocations: 188.6 kB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2906, allocations: 4 kB / 440.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.745e-05/0.2906, allocations: 8 kB / 440.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2906, allocations: 4 kB / 440.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.2906, allocations: 7.984 kB / 440.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2906, allocations: 3.938 kB / 440.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2906, allocations: 0 / 440.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.2911, allocations: 242.5 kB / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.2911, allocations: 23.83 kB / 440.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.2911, allocations: 12 kB / 440.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.2912, allocations: 11.92 kB / 440.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.2913, allocations: 11.98 kB / 440.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.2913, allocations: 4 kB / 440.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.2914, allocations: 137.2 kB / 440.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2914, allocations: 0 / 440.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004977/0.2919, allocations: 131.6 kB / 440.6 MB, free: 12.97 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,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.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.001665/0.2936, allocations: 1.053 MB / 441.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004693/0.294, allocations: 191.7 kB / 441.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.294, allocations: 0 / 441.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.2942, allocations: 59.91 kB / 441.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.2944, allocations: 14.48 kB / 442 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.2974, allocations: 2.313 MB / 444.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.2978, allocations: 0.7201 MB / 445 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.548e-05/0.2979, allocations: 25.34 kB / 445 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.298, allocations: 51.42 kB / 445.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.298, allocations: 0 / 445.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.3332, allocations: 5.742 MB / 450.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.88, allocations: 12.25 kB / 450.8 MB, free: 2.789 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 52.5] 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: 14.49048700206913]