Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00082/0.00082, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007962/0.0007962, allocations: 149.1 kB / 23.93 MB, free: 0.6367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8665/0.8665, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.582e-06/1.582e-06, allocations: 0 / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.33e-05, allocations: 2.281 kB / 318.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002339/0.002362, allocations: 1.782 MB / 320.2 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.004293, allocations: 1.193 MB / 321.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.364e-05/0.004376, allocations: 0 / 321.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.004492, allocations: 23.67 kB / 321.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.69e-05/0.004569, allocations: 31.72 kB / 321.5 MB, free: 3.285 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.000763/0.005332, allocations: 326.8 kB / 321.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.005543, allocations: 219.4 kB / 322 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.0057, allocations: 52.53 kB / 322.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.00583, allocations: 135.7 kB / 322.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006057/0.006435, allocations: 95.06 kB / 322.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.006481, allocations: 20 kB / 322.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.00689, allocations: 323.2 kB / 322.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.006944, allocations: 59.81 kB / 322.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.487e-05/0.007009, allocations: 71.75 kB / 322.7 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004567/0.007465, allocations: 434.7 kB / 323.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.007469, allocations: 4 kB / 323.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.00747, allocations: 4 kB / 323.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.007476, allocations: 0 / 323.2 MB, free: 1.574 MB / 282.7 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.0007737/0.008249, allocations: 0.4942 MB / 323.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.00829, allocations: 8.922 kB / 323.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.496e-05/0.008365, allocations: 54.67 kB / 323.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.008523, allocations: 36.78 kB / 323.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.008729, allocations: 187.1 kB / 324 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.008756, allocations: 20.12 kB / 324 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.008786, allocations: 20 kB / 324 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.009092, allocations: 198.5 kB / 324.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.0091, allocations: 0 / 324.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.009114, allocations: 4 kB / 324.2 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.00912, allocations: 8 kB / 324.2 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.009366, allocations: 156 kB / 324.4 MB, free: 336 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007298/0.0101, allocations: 0.5113 MB / 324.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.01068, allocations: 305.2 kB / 325.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.01084, allocations: 108.8 kB / 325.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.01086, allocations: 0 / 325.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.0111, allocations: 170.5 kB / 325.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.01111, allocations: 0 / 325.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005807/0.01169, allocations: 365.2 kB / 325.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.01173, allocations: 63.39 kB / 325.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.01188, allocations: 211.8 kB / 326.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.0119, allocations: 37.69 kB / 326.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.01197, allocations: 128.6 kB / 326.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.01202, allocations: 75.38 kB / 326.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.01209, allocations: 65.69 kB / 326.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.01217, allocations: 338.8 kB / 326.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.01236, allocations: 131.9 kB / 326.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.01255, allocations: 157.6 kB / 327 MB, free: 13.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.01289, allocations: 272.6 kB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01289, allocations: 0 / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004468/0.01334, allocations: 377 kB / 327.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.01336, allocations: 8 kB / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01336, allocations: 0 / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.01338, allocations: 0 / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.01354, allocations: 75.88 kB / 327.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01354, allocations: 0 / 327.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.01362, allocations: 47.64 kB / 327.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.01365, allocations: 15.92 kB / 327.7 MB, free: 12.79 MB / 298.7 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.0001041/0.01375, allocations: 141.8 kB / 327.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.01377, allocations: 23.8 kB / 327.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.01381, allocations: 25.95 kB / 327.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01382, allocations: 4 kB / 327.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.01383, allocations: 4 kB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01383, allocations: 0 / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.01449, allocations: 0.5793 MB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.0145, allocations: 0 / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.01462, allocations: 47.89 kB / 328.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01462, allocations: 0 / 328.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.01463, allocations: 12 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.01464, allocations: 0 / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.01464, allocations: 3.984 kB / 328.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.0152, allocations: 490.8 kB / 329.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.01522, allocations: 23.95 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.01525, allocations: 4 kB / 329.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.01533, allocations: 19.98 kB / 329.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.01537, allocations: 11.97 kB / 329.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.01538, allocations: 15.92 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.837e-05/0.01547, allocations: 151.2 kB / 329.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01547, allocations: 0 / 329.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003158/0.01579, allocations: 107.7 kB / 329.4 MB, free: 11.08 MB / 298.7 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 (18): * Single equations (assignments): 16 * 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.001183/0.01697, allocations: 1.184 MB / 330.6 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004275/0.0174, allocations: 264.9 kB / 330.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.0174, allocations: 0 / 330.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.01756, allocations: 115.9 kB / 330.9 MB, free: 9.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.01779, allocations: 28.23 kB / 331 MB, free: 9.504 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.0204, allocations: 2.8 MB / 333.8 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.003e-05/0.02049, allocations: 129.5 kB / 333.9 MB, free: 6.473 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.339e-05/0.02059, allocations: 29.92 kB / 333.9 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.02069, allocations: 72.47 kB / 334 MB, free: 6.371 MB / 298.7 MB Notification: Performance of SimCode: time 9.01e-07/0.02069, allocations: 4 kB / 334 MB, free: 6.367 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.04543, allocations: 6.933 MB / 340.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.69, allocations: 11.92 kB / 341 MB, free: 15.55 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.859159719198942]