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.001861/0.001861, allocations: 115.9 kB / 20.44 MB, free: 1.465 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.002345/0.002345, allocations: 212.9 kB / 23.74 MB, free: 4.691 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.001661/0.001661, allocations: 47.92 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2676, allocations: 53.37 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003935/0.2715, allocations: 1.889 MB / 433 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002826/0.2744, allocations: 1.337 MB / 434.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.2745, allocations: 0 / 434.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.2747, allocations: 23.73 kB / 434.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.2748, allocations: 27.72 kB / 434.4 MB, free: 3.562 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.001114/0.2759, allocations: 319.1 kB / 434.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.2763, allocations: 223.4 kB / 435 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.2765, allocations: 56.55 kB / 435 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.2766, allocations: 95.62 kB / 435.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007576/0.2774, allocations: 125.3 kB / 435.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.888e-05/0.2775, allocations: 20 kB / 435.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006689/0.2781, allocations: 335.4 kB / 435.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.2783, allocations: 59.81 kB / 435.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.2784, allocations: 95.47 kB / 435.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007102/0.2791, allocations: 394.9 kB / 436.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2792, allocations: 0 / 436.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2792, allocations: 0 / 436.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.2792, allocations: 7.938 kB / 436.1 MB, free: 1.871 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.001372/0.2805, allocations: 0.5058 MB / 436.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.2806, allocations: 12.03 kB / 436.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.2807, allocations: 54.69 kB / 436.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.281, allocations: 40.78 kB / 436.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.2813, allocations: 182.2 kB / 436.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.2814, allocations: 12.38 kB / 436.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.2814, allocations: 31.83 kB / 436.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.282, allocations: 202.4 kB / 437.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.282, allocations: 0 / 437.1 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.282, allocations: 7.984 kB / 437.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.282, allocations: 8 kB / 437.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.2825, allocations: 157.1 kB / 437.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.2838, allocations: 0.5505 MB / 437.9 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.285, allocations: 297.5 kB / 438.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.2853, allocations: 104.8 kB / 438.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.2853, allocations: 11.88 kB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004428/0.2858, allocations: 163.3 kB / 438.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.2858, allocations: 0 / 438.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001162/0.2869, allocations: 369.5 kB / 438.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.287, allocations: 55.41 kB / 438.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.2873, allocations: 226.7 kB / 439.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/0.2873, allocations: 37.7 kB / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.2874, allocations: 128.6 kB / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.488e-05/0.2875, allocations: 67.44 kB / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.2876, allocations: 77.62 kB / 439.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2878, allocations: 334.8 kB / 439.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.2882, allocations: 139.9 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.2886, allocations: 162.2 kB / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007745/0.2894, allocations: 267.3 kB / 440.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2894, allocations: 3.938 kB / 440.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001067/0.2904, allocations: 382.6 kB / 440.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.2905, allocations: 4 kB / 440.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2905, allocations: 0 / 440.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.2905, allocations: 4 kB / 440.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.2908, allocations: 67.88 kB / 440.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.2909, allocations: 4 kB / 440.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.2911, allocations: 43.83 kB / 440.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.2911, allocations: 11.98 kB / 440.8 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.0002365/0.2914, allocations: 145.6 kB / 440.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.2914, allocations: 23.84 kB / 440.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.053e-05/0.2915, allocations: 21.91 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.2915, allocations: 4 kB / 441 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.2915, allocations: 0 / 441 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.2915, allocations: 7.984 kB / 441 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.2929, allocations: 0.5963 MB / 441.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2929, allocations: 0 / 441.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.2931, allocations: 47.95 kB / 441.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.2931, allocations: 3.938 kB / 441.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.2932, allocations: 7.984 kB / 441.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.2932, allocations: 7.938 kB / 441.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2932, allocations: 0 / 441.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.2944, allocations: 483 kB / 442.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.2944, allocations: 23.73 kB / 442.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.2945, allocations: 12.05 kB / 442.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.2947, allocations: 19.98 kB / 442.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/0.2948, allocations: 15.97 kB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.2948, allocations: 11.97 kB / 442.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.295, allocations: 152.7 kB / 442.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.295, allocations: 0 / 442.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005043/0.2955, allocations: 103.8 kB / 442.4 MB, free: 11.28 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.002174/0.2977, allocations: 1.171 MB / 443.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008922/0.2986, allocations: 276.2 kB / 443.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2986, allocations: 0 / 443.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.2989, allocations: 115.9 kB / 444 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.2993, allocations: 23.89 kB / 444 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/0.3046, allocations: 2.822 MB / 446.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.3051, allocations: 0.7437 MB / 447.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000169/0.3052, allocations: 29.94 kB / 447.6 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.3054, allocations: 67.41 kB / 447.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of SimCode: time 2.034e-06/0.3054, allocations: 0 / 447.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.3454, allocations: 6.308 MB / 454 MB, free: 15.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.64, allocations: 10.69 kB / 454 MB, free: 15.76 MB / 366.1 MB " [Timeout remaining time 647] (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: 16.416100604925305]