Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.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.000875/0.000875, 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.001407/0.001407, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9078/0.9078, allocations: 177 MB / 204.1 MB, free: 5.75 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.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.986e-05, allocations: 2.281 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001945/0.001965, allocations: 1.49 MB / 326 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008472/0.002812, allocations: 0.5684 MB / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.00286, allocations: 0 / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.214e-05/0.002952, allocations: 15.8 kB / 326.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.649e-05/0.003008, allocations: 19.81 kB / 326.6 MB, free: 13.79 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.0005254/0.003534, allocations: 151.5 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.003656, allocations: 115.6 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.003698, allocations: 9.297 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.003767, allocations: 67.81 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.004163, allocations: 60.77 kB / 327 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.004185, allocations: 8 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.0044, allocations: 151.6 kB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.004443, allocations: 27.92 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.004485, allocations: 39.84 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.004752, allocations: 215.4 kB / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004754, allocations: 0 / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004755, allocations: 0 / 327.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.004759, allocations: 0 / 327.4 MB, free: 12.96 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.0004994/0.005259, allocations: 393.4 kB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.005297, allocations: 11.98 kB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.837e-05/0.005356, allocations: 42.73 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.005541, allocations: 36.81 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.005642, allocations: 133.6 kB / 328 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.00566, allocations: 12.36 kB / 328.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.005675, allocations: 12.38 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.005831, allocations: 123.8 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.005838, allocations: 192 / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.005847, allocations: 384 / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.005853, allocations: 8.125 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/0.005951, allocations: 55.95 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.006391, allocations: 407.9 kB / 328.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.006583, allocations: 117.2 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.006642, allocations: 49.75 kB / 328.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.006652, allocations: 3.938 kB / 328.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.006821, allocations: 145 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.62e-07/0.006822, allocations: 0 / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003551/0.007177, allocations: 241.5 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.007227, allocations: 89.09 kB / 329.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.007338, allocations: 174.3 kB / 329.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.007365, allocations: 49.69 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.007415, allocations: 104.6 kB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.007444, allocations: 43.72 kB / 329.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.007508, allocations: 61.92 kB / 329.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.007589, allocations: 326.8 kB / 330 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.007771, allocations: 96.47 kB / 330.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.007892, allocations: 136.6 kB / 330.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.008112, allocations: 203 kB / 330.4 MB, free: 9.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.008116, allocations: 7.875 kB / 330.5 MB, free: 9.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002963/0.008413, allocations: 297.4 kB / 330.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.008427, allocations: 8 kB / 330.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.008434, allocations: 0 / 330.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.008446, allocations: 0 / 330.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.008536, allocations: 31.92 kB / 330.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.008543, allocations: 4 kB / 330.8 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.008585, allocations: 11.89 kB / 330.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.008599, allocations: 15.98 kB / 330.8 MB, free: 9.328 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 0.0001002/0.008699, allocations: 153.8 kB / 331 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.008714, allocations: 15.91 kB / 331 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.008737, allocations: 13.47 kB / 331 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.008741, allocations: 4 kB / 331 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.008746, allocations: 0 / 331 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.00875, allocations: 0 / 331 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.008887, allocations: 176.5 kB / 331.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008889, allocations: 0 / 331.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.008914, allocations: 11.98 kB / 331.2 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.008916, allocations: 0 / 331.2 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.008925, allocations: 0 / 331.2 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.008927, allocations: 4 kB / 331.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.008929, allocations: 4 kB / 331.2 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.009142, allocations: 221.7 kB / 331.4 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.009162, allocations: 23.83 kB / 331.4 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.009181, allocations: 11.94 kB / 331.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/0.00921, allocations: 11.92 kB / 331.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.00925, allocations: 11.98 kB / 331.5 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.009256, allocations: 4 kB / 331.5 MB, free: 8.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.963e-05/0.009326, allocations: 123.2 kB / 331.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009326, allocations: 4 kB / 331.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002092/0.009535, allocations: 47.92 kB / 331.6 MB, free: 8.434 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.0008373/0.01037, allocations: 0.9311 MB / 332.6 MB, free: 7.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.01062, allocations: 171.8 kB / 332.7 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01062, allocations: 0 / 332.7 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.4e-05/0.0107, allocations: 55.91 kB / 332.8 MB, free: 7.277 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.01083, allocations: 11.94 kB / 332.8 MB, free: 7.266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.01245, allocations: 2.115 MB / 334.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.051e-05/0.01251, allocations: 94.28 kB / 335 MB, free: 4.934 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.398e-05/0.01255, allocations: 24.95 kB / 335 MB, free: 4.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.01261, allocations: 36.48 kB / 335.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01261, allocations: 0 / 335.1 MB, free: 4.875 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.0332, allocations: 4.425 MB / 339.5 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/6.795, allocations: 1.75 kB / 339.5 MB, free: 0.5312 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039208 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.csv","/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_trunk_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.582836876623333]