Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001834/0.001834, allocations: 112.5 kB / 20.43 MB, free: 1.312 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.002438/0.002438, allocations: 209.8 kB / 23.74 MB, free: 4.543 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.468/1.468, allocations: 230.5 MB / 257.4 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 63.89 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3117, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003545/0.3152, allocations: 1.887 MB / 433.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.3178, allocations: 1.34 MB / 434.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.3178, allocations: 4 kB / 434.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.318, allocations: 19.73 kB / 434.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.3182, allocations: 31.73 kB / 434.5 MB, free: 3.379 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.0009423/0.3191, allocations: 315.1 kB / 434.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.3194, allocations: 227.4 kB / 435 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.3196, allocations: 56.53 kB / 435.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.3197, allocations: 103.6 kB / 435.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006484/0.3204, allocations: 122.6 kB / 435.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.3204, allocations: 20 kB / 435.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005791/0.321, allocations: 327.4 kB / 435.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.568e-05/0.3211, allocations: 63.75 kB / 435.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3212, allocations: 99.45 kB / 435.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.3218, allocations: 387 kB / 436.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3218, allocations: 0 / 436.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3218, allocations: 0 / 436.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3218, allocations: 4 kB / 436.2 MB, free: 1.695 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001158/0.323, allocations: 0.5136 MB / 436.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.323, allocations: 11.97 kB / 436.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.845e-05/0.3231, allocations: 54.69 kB / 436.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.3233, allocations: 36.78 kB / 436.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.3236, allocations: 182.2 kB / 437 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.3236, allocations: 12.38 kB / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.3236, allocations: 28.33 kB / 437 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.3242, allocations: 207.4 kB / 437.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3242, allocations: 0 / 437.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.3242, allocations: 4 kB / 437.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3242, allocations: 8 kB / 437.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004688/0.3247, allocations: 156.2 kB / 437.4 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.3258, allocations: 0.5505 MB / 437.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3268, allocations: 302.6 kB / 438.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.3271, allocations: 108.8 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.3272, allocations: 3.938 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004002/0.3276, allocations: 170.6 kB / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.704e-06/0.3276, allocations: 0 / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001042/0.3286, allocations: 353.3 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.3287, allocations: 59.34 kB / 438.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.3289, allocations: 230.7 kB / 439.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.329, allocations: 33.7 kB / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3291, allocations: 132.6 kB / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.3291, allocations: 71.42 kB / 439.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.3292, allocations: 73.62 kB / 439.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3294, allocations: 334.8 kB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.3298, allocations: 139.9 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.3301, allocations: 153.6 kB / 440 MB, free: 13.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/0.3308, allocations: 275.2 kB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3308, allocations: 4 kB / 440.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008295/0.3316, allocations: 378.6 kB / 440.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3316, allocations: 8 kB / 440.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3316, allocations: 0 / 440.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3316, allocations: 0 / 440.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.332, allocations: 75.88 kB / 440.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.332, allocations: 0 / 440.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.3322, allocations: 43.81 kB / 440.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.3322, allocations: 8 kB / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001748/0.3324, allocations: 149.6 kB / 440.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.3324, allocations: 19.86 kB / 441 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.3325, allocations: 17.97 kB / 441 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3325, allocations: 11.92 kB / 441 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3325, allocations: 0 / 441 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3325, allocations: 7.984 kB / 441 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.3336, allocations: 0.5947 MB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3336, allocations: 4 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.3339, allocations: 43.95 kB / 441.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3339, allocations: 0 / 441.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.3339, allocations: 11.98 kB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3339, allocations: 0 / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3339, allocations: 3.938 kB / 441.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.3349, allocations: 482.8 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.335, allocations: 23.78 kB / 442.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.335, allocations: 12 kB / 442.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.3352, allocations: 27.91 kB / 442.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.3352, allocations: 15.98 kB / 442.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.3353, allocations: 7.984 kB / 442.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.3354, allocations: 156.7 kB / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3354, allocations: 0 / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004437/0.3358, allocations: 95.8 kB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001909/0.3378, allocations: 1.174 MB / 443.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007504/0.3385, allocations: 270.9 kB / 443.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3385, allocations: 0 / 443.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.3388, allocations: 119.8 kB / 444 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.3391, allocations: 30.62 kB / 444.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.3436, allocations: 2.822 MB / 446.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.344, allocations: 0.7437 MB / 447.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.3441, allocations: 33.92 kB / 447.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.3443, allocations: 71.41 kB / 447.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3443, allocations: 0 / 447.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.3799, allocations: 6.301 MB / 454 MB, free: 15.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.77, allocations: 11.53 kB / 454 MB, free: 15.54 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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: 15.477950220927596]