Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001287/0.001287, allocations: 116.4 kB / 18.5 MB, free: 4.535 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.001686/0.001686, allocations: 212.9 kB / 21.46 MB, free: 1.586 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.487/1.487, allocations: 230.2 MB / 254.5 MB, free: 15.11 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.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 63.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1209, allocations: 53.33 MB / 426.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.004089/0.125, allocations: 1.877 MB / 428.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.1273, allocations: 1.032 MB / 429.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.1275, allocations: 0 / 429.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.1276, allocations: 19.75 kB / 429.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.1279, allocations: 35.66 kB / 429.6 MB, free: 1.984 MB / 350.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.0007789/0.1287, allocations: 183.5 kB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.1291, allocations: 219.5 kB / 430 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.1293, allocations: 56.25 kB / 430.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.1295, allocations: 99.56 kB / 430.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007104/0.1302, allocations: 123.7 kB / 430.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1303, allocations: 23.94 kB / 430.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.1306, allocations: 123.9 kB / 430.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1308, allocations: 63.69 kB / 430.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.131, allocations: 107.4 kB / 430.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000719/0.1317, allocations: 294.8 kB / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1317, allocations: 0 / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1317, allocations: 0 / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1317, allocations: 4 kB / 430.9 MB, free: 0.7148 MB / 350.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.001446/0.1331, allocations: 0.558 MB / 431.5 MB, free: 108 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.1332, allocations: 12.03 kB / 431.5 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.1333, allocations: 50.69 kB / 431.5 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2168/0.3501, allocations: 39.55 kB / 431.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.3505, allocations: 240.5 kB / 431.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.353e-05/0.3505, allocations: 14.47 kB / 431.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.3506, allocations: 19.84 kB / 431.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.3512, allocations: 205.6 kB / 432 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3512, allocations: 0 / 432 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.3512, allocations: 11.05 kB / 432.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3512, allocations: 3.719 kB / 432.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.3517, allocations: 162.5 kB / 432.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.3527, allocations: 0.5806 MB / 432.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009907/0.3537, allocations: 293.1 kB / 433.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.354, allocations: 111.8 kB / 433.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.354, allocations: 8.781 kB / 433.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003875/0.3544, allocations: 168.2 kB / 433.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.234e-06/0.3544, allocations: 0 / 433.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.000908/0.3553, allocations: 358.2 kB / 433.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3553, allocations: 60.12 kB / 433.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.3556, allocations: 223.4 kB / 434 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.3556, allocations: 42.11 kB / 434 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.3557, allocations: 133.9 kB / 434.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.3557, allocations: 72.81 kB / 434.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.3558, allocations: 67.34 kB / 434.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.3559, allocations: 338 kB / 434.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.3562, allocations: 131.2 kB / 434.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.3565, allocations: 156.4 kB / 434.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.3571, allocations: 272.7 kB / 435.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3571, allocations: 4.781 kB / 435.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007502/0.3579, allocations: 375.9 kB / 435.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3579, allocations: 4.438 kB / 435.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3579, allocations: 4.469 kB / 435.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3579, allocations: 3.641 kB / 435.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.3582, allocations: 68.98 kB / 435.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3582, allocations: 1.484 kB / 435.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.3584, allocations: 44.45 kB / 435.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.3584, allocations: 12.86 kB / 435.7 MB, free: 9.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.0001372/0.3586, allocations: 141.3 kB / 435.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.3586, allocations: 28.62 kB / 435.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.02e-05/0.3587, allocations: 24.95 kB / 435.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3587, allocations: 2.219 kB / 435.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3587, allocations: 1 kB / 435.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3587, allocations: 4.125 kB / 435.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.3597, allocations: 0.6222 MB / 436.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3597, allocations: 5.375 kB / 436.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.36, allocations: 52.14 kB / 436.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.36, allocations: 0.9375 kB / 436.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.36, allocations: 3.984 kB / 436.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.36, allocations: 1.969 kB / 436.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.36, allocations: 0 / 436.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009633/0.361, allocations: 485.8 kB / 437 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.361, allocations: 98.98 kB / 437.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.361, allocations: 8.391 kB / 437.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.3612, allocations: 26.55 kB / 437.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.3613, allocations: 20.5 kB / 437.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.3613, allocations: 9.453 kB / 437.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.3614, allocations: 156.3 kB / 437.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3614, allocations: 0 / 437.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003787/0.3618, allocations: 64.27 kB / 437.4 MB, free: 8.906 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.001518/0.3633, allocations: 1.101 MB / 438.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.3641, allocations: 265.9 kB / 438.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3641, allocations: 0 / 438.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.3644, allocations: 110.8 kB / 438.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.3648, allocations: 36.41 kB / 438.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.3687, allocations: 2.821 MB / 441.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.3689, allocations: 0.7413 MB / 442.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.3691, allocations: 26.61 kB / 442.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.3692, allocations: 67.52 kB / 442.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3692, allocations: 4.594 kB / 442.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.4013, allocations: 5.328 MB / 447.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.392/8.793, allocations: 6.562 kB / 447.9 MB, free: 4.844 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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: 12.591157297138125]