Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.0008953/0.0008953, allocations: 79.69 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.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.001075/0.001075, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8573/0.8573, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.301e-05, allocations: 12.75 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001684/0.001697, allocations: 1.481 MB / 326.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007295/0.002426, allocations: 0.5729 MB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.002468, allocations: 0 / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.082e-05/0.002549, allocations: 11.88 kB / 326.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.59e-05/0.002605, allocations: 27.72 kB / 326.7 MB, free: 13.82 MB / 298.7 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.0004198/0.003025, allocations: 147.5 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.003147, allocations: 115.6 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.003184, allocations: 5.312 kB / 326.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.629e-05/0.003251, allocations: 63.86 kB / 327 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.003601, allocations: 70.55 kB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.003622, allocations: 8 kB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.003814, allocations: 147.6 kB / 327.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.003859, allocations: 35.89 kB / 327.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.003898, allocations: 35.84 kB / 327.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.004137, allocations: 211.4 kB / 327.5 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004138, allocations: 0 / 327.5 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004139, allocations: 0 / 327.5 MB, free: 13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004143, allocations: 0 / 327.5 MB, free: 13 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004339/0.004577, allocations: 388.6 kB / 327.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.004612, allocations: 12.03 kB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/0.004659, allocations: 34.75 kB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.00484, allocations: 44.81 kB / 328 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.00494, allocations: 141.5 kB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.004956, allocations: 8.375 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.004968, allocations: 4.375 kB / 328.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.005113, allocations: 115.9 kB / 328.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.00512, allocations: 192 / 328.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.005132, allocations: 7.938 kB / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.005136, allocations: 3.938 kB / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.679e-05/0.005233, allocations: 59.89 kB / 328.3 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.005649, allocations: 407.9 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.005823, allocations: 121.1 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.005882, allocations: 53.75 kB / 328.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.00589, allocations: 0 / 328.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.006048, allocations: 151.6 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.006049, allocations: 3.984 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.000311/0.00636, allocations: 229.6 kB / 329.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.006404, allocations: 93.03 kB / 329.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.006509, allocations: 178.8 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.006535, allocations: 49.69 kB / 329.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.006583, allocations: 108.6 kB / 329.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.006611, allocations: 39.73 kB / 329.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.006665, allocations: 57.92 kB / 329.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.006748, allocations: 334.8 kB / 330.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.006856, allocations: 92.47 kB / 330.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.006971, allocations: 124.4 kB / 330.3 MB, free: 9.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.007168, allocations: 215.4 kB / 330.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00717, allocations: 0 / 330.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002733/0.007443, allocations: 301.4 kB / 330.8 MB, free: 9.449 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.007454, allocations: 4 kB / 330.8 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.00746, allocations: 4 kB / 330.8 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.007471, allocations: 0 / 330.8 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.00755, allocations: 31.91 kB / 330.8 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.007555, allocations: 7.938 kB / 330.8 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.007591, allocations: 19.89 kB / 330.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.007607, allocations: 8 kB / 330.9 MB, free: 9.375 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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 8.755e-05/0.007695, allocations: 149.8 kB / 331 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.007708, allocations: 11.91 kB / 331 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.007728, allocations: 17.45 kB / 331 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.007731, allocations: 4 kB / 331 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.007735, allocations: 0 / 331 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007738, allocations: 3.938 kB / 331.1 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.007849, allocations: 176.5 kB / 331.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.00785, allocations: 0 / 331.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.007871, allocations: 15.98 kB / 331.2 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.007873, allocations: 4 kB / 331.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.007879, allocations: 0 / 331.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.00788, allocations: 0 / 331.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007881, allocations: 0 / 331.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.008085, allocations: 217.8 kB / 331.5 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.008099, allocations: 15.84 kB / 331.5 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.008118, allocations: 15.98 kB / 331.5 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.312e-05/0.008142, allocations: 4 kB / 331.5 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.008178, allocations: 15.92 kB / 331.5 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.008186, allocations: 7.984 kB / 331.5 MB, free: 8.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.984e-05/0.008246, allocations: 124.2 kB / 331.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008246, allocations: 3.938 kB / 331.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.008435, allocations: 43.94 kB / 331.7 MB, free: 8.492 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006761/0.009111, allocations: 0.9369 MB / 332.6 MB, free: 7.562 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.009339, allocations: 179.8 kB / 332.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.00934, allocations: 0 / 332.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.009406, allocations: 60.08 kB / 332.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.009519, allocations: 7.984 kB / 332.9 MB, free: 7.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.0111, allocations: 2.104 MB / 335 MB, free: 5.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.85e-05/0.01115, allocations: 102.3 kB / 335.1 MB, free: 4.992 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.01119, allocations: 16.97 kB / 335.1 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.01124, allocations: 36.59 kB / 335.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01124, allocations: 3.938 kB / 335.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.02665, allocations: 4.419 MB / 339.5 MB, free: 0.625 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.737/6.764, allocations: 0 / 339.5 MB, free: 0.625 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.360803307034075]