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.0008051/0.0008051, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008682/0.0008682, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.869/0.869, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.924e-06/1.924e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.671e-05, allocations: 6.984 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002386/0.002413, allocations: 1.822 MB / 326.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.004175, allocations: 1.25 MB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.004277, allocations: 0 / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.004392, allocations: 19.73 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.004523, allocations: 35.66 kB / 327.7 MB, free: 12.72 MB / 298.7 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.0007926/0.005315, allocations: 330.8 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.005561, allocations: 219.4 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.005723, allocations: 52.33 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.005905, allocations: 139.7 kB / 328.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.006392, allocations: 94.55 kB / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.006442, allocations: 20 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.006875, allocations: 319.2 kB / 328.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.006928, allocations: 59.75 kB / 328.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.006989, allocations: 71.81 kB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.007431, allocations: 438.7 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.007434, allocations: 0 / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.007435, allocations: 0 / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.00744, allocations: 0 / 329.4 MB, free: 11.02 MB / 298.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.00074/0.00818, allocations: 0.502 MB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.008216, allocations: 19.97 kB / 329.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.583e-05/0.008282, allocations: 54.69 kB / 329.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.008409, allocations: 32.78 kB / 330 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.008592, allocations: 189.8 kB / 330.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.008618, allocations: 20.38 kB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.00865, allocations: 20.36 kB / 330.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.008958, allocations: 203.9 kB / 330.4 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.008967, allocations: 4.188 kB / 330.4 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.008989, allocations: 12.12 kB / 330.4 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.008995, allocations: 0 / 330.4 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.009264, allocations: 156.2 kB / 330.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000767/0.01003, allocations: 0.5076 MB / 331.1 MB, free: 9.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.01065, allocations: 306.6 kB / 331.4 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.01081, allocations: 108.8 kB / 331.5 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.01083, allocations: 0 / 331.5 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.01108, allocations: 183 kB / 331.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.01108, allocations: 0 / 331.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005533/0.01163, allocations: 357.2 kB / 332 MB, free: 8.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.01168, allocations: 55.41 kB / 332.1 MB, free: 8.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.01183, allocations: 223 kB / 332.3 MB, free: 7.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.01186, allocations: 33.7 kB / 332.3 MB, free: 7.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.01192, allocations: 132.6 kB / 332.4 MB, free: 7.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.01197, allocations: 75.38 kB / 332.5 MB, free: 7.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/0.01204, allocations: 69.69 kB / 332.6 MB, free: 7.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.01212, allocations: 330.8 kB / 332.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.01231, allocations: 139.6 kB / 333 MB, free: 7.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.01252, allocations: 166.2 kB / 333.2 MB, free: 6.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.01286, allocations: 267.3 kB / 333.5 MB, free: 6.711 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01286, allocations: 0 / 333.5 MB, free: 6.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004661/0.01333, allocations: 390.4 kB / 333.8 MB, free: 6.324 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01334, allocations: 4 kB / 333.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.01335, allocations: 0 / 333.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.01336, allocations: 4 kB / 333.8 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.01352, allocations: 67.88 kB / 333.9 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01353, allocations: 4 kB / 333.9 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.01361, allocations: 35.83 kB / 334 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.01363, allocations: 15.98 kB / 334 MB, free: 6.195 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.0001073/0.01373, allocations: 145.6 kB / 334.1 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.01376, allocations: 27.78 kB / 334.1 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.0138, allocations: 21.97 kB / 334.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.0138, allocations: 4 kB / 334.2 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01381, allocations: 0 / 334.2 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.01381, allocations: 0 / 334.2 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.01444, allocations: 0.5589 MB / 334.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01444, allocations: 3.938 kB / 334.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.01456, allocations: 47.89 kB / 334.8 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01456, allocations: 8 kB / 334.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.01457, allocations: 3.984 kB / 334.8 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01458, allocations: 4 kB / 334.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01458, allocations: 0 / 334.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.01514, allocations: 487 kB / 335.3 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.01516, allocations: 19.8 kB / 335.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.01519, allocations: 12.05 kB / 335.3 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.01528, allocations: 23.97 kB / 335.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.01532, allocations: 11.92 kB / 335.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.01533, allocations: 12.11 kB / 335.3 MB, free: 4.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.5e-05/0.01543, allocations: 157 kB / 335.5 MB, free: 4.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01543, allocations: 3.938 kB / 335.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.0157, allocations: 107.7 kB / 335.6 MB, free: 4.484 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 (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.001085/0.01678, allocations: 1.191 MB / 336.8 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.01721, allocations: 267.6 kB / 337.1 MB, free: 3.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01721, allocations: 0 / 337.1 MB, free: 3.031 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.01737, allocations: 107.9 kB / 337.2 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.01759, allocations: 31.88 kB / 337.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.02015, allocations: 2.809 MB / 340 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.07e-05/0.02023, allocations: 133.5 kB / 340.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.057e-05/0.02031, allocations: 29.94 kB / 340.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.831e-05/0.0204, allocations: 76.41 kB / 340.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0204, allocations: 0 / 340.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.03928, allocations: 6.924 MB / 347.2 MB, free: 8.918 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/7.03, allocations: 3.094 kB / 347.2 MB, free: 8.918 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/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: 9.203096122480929]