Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001692/0.001692, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002134/0.002134, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2871, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003198/0.2903, allocations: 1.809 MB / 432.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.2929, allocations: 1.24 MB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.293, allocations: 0 / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.2931, allocations: 23.67 kB / 434.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.2932, allocations: 31.67 kB / 434.2 MB, free: 3.512 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.0009447/0.2942, allocations: 323 kB / 434.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.2945, allocations: 223.5 kB / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.2946, allocations: 60.33 kB / 434.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2948, allocations: 99.61 kB / 434.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005986/0.2954, allocations: 134 kB / 435 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.2954, allocations: 20 kB / 435 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.2959, allocations: 327.4 kB / 435.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.439e-05/0.296, allocations: 59.81 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.2961, allocations: 87.52 kB / 435.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.2967, allocations: 388.5 kB / 435.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2967, allocations: 0 / 435.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2967, allocations: 4 kB / 435.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.2967, allocations: 0 / 435.9 MB, free: 1.824 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.001153/0.2979, allocations: 0.5058 MB / 436.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2979, allocations: 12.03 kB / 436.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.888e-05/0.298, allocations: 50.69 kB / 436.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.2982, allocations: 36.78 kB / 436.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.2985, allocations: 190.1 kB / 436.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.2985, allocations: 12.38 kB / 436.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.2986, allocations: 27.89 kB / 436.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.2991, allocations: 206.3 kB / 436.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2991, allocations: 0 / 436.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.2991, allocations: 8 kB / 436.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.2991, allocations: 4 kB / 436.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.2996, allocations: 161.1 kB / 437.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.3007, allocations: 0.5038 MB / 437.6 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3017, allocations: 294.7 kB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.3021, allocations: 112.8 kB / 438 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3021, allocations: 7.938 kB / 438 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004135/0.3025, allocations: 159.2 kB / 438.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.893e-06/0.3025, allocations: 8 kB / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001052/0.3035, allocations: 347.9 kB / 438.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.3036, allocations: 71.39 kB / 438.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.3038, allocations: 214.7 kB / 438.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.3039, allocations: 41.7 kB / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/0.304, allocations: 128.6 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.304, allocations: 79.36 kB / 439 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3041, allocations: 69.62 kB / 439.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3043, allocations: 338.8 kB / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.3046, allocations: 135.9 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/0.305, allocations: 158.2 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.3057, allocations: 275.1 kB / 440 MB, free: 13.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3057, allocations: 4 kB / 440 MB, free: 13.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008298/0.3065, allocations: 378.5 kB / 440.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3065, allocations: 12.03 kB / 440.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3065, allocations: 4 kB / 440.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3065, allocations: 0 / 440.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.3069, allocations: 71.88 kB / 440.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3069, allocations: 0 / 440.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.307, allocations: 39.81 kB / 440.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.3071, allocations: 12 kB / 440.5 MB, free: 13.02 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.0001512/0.3072, allocations: 149.6 kB / 440.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.3073, allocations: 23.86 kB / 440.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.3073, allocations: 25.95 kB / 440.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3073, allocations: 0 / 440.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3073, allocations: 0 / 440.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3073, allocations: 0 / 440.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.3084, allocations: 0.578 MB / 441.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3084, allocations: 0 / 441.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.3087, allocations: 43.89 kB / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3087, allocations: 0 / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.3087, allocations: 8 kB / 441.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3087, allocations: 0 / 441.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3087, allocations: 4 kB / 441.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.3098, allocations: 483.1 kB / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.3098, allocations: 31.67 kB / 441.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.3099, allocations: 8.062 kB / 441.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.3101, allocations: 19.97 kB / 441.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.3101, allocations: 15.97 kB / 441.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3101, allocations: 7.938 kB / 441.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.3103, allocations: 160.7 kB / 442 MB, free: 11.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3103, allocations: 0 / 442 MB, free: 11.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004201/0.3107, allocations: 103.7 kB / 442.1 MB, free: 11.3 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.001885/0.3126, allocations: 1.177 MB / 443.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007582/0.3133, allocations: 272.2 kB / 443.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3133, allocations: 0 / 443.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.3137, allocations: 111.9 kB / 443.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.314, allocations: 34.44 kB / 443.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.3183, allocations: 2.822 MB / 446.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.3184, allocations: 129.2 kB / 446.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.3186, allocations: 29.94 kB / 446.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3187, allocations: 71.41 kB / 446.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3187, allocations: 4 kB / 446.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/0.3605, allocations: 6.821 MB / 453.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.93, allocations: 6.734 kB / 453.6 MB, free: 15.91 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 14.583297929988476]