Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.0008779/0.0008779, allocations: 76.08 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.000779/0.000779, allocations: 149.4 kB / 23.93 MB, free: 0.6289 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.9557/0.9557, allocations: 173.4 MB / 200.5 MB, free: 9.422 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.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.771e-05, allocations: 2.281 kB / 318.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.001984/0.002012, allocations: 1.447 MB / 319.9 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.002877, allocations: 0.5728 MB / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.119e-05/0.002928, allocations: 4 kB / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.003043, allocations: 7.875 kB / 320.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.003111, allocations: 23.72 kB / 320.5 MB, free: 4.266 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.000581/0.003692, allocations: 151.4 kB / 320.6 MB, free: 4.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.003841, allocations: 115.6 kB / 320.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.94e-05/0.0039, allocations: 9.312 kB / 320.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.003988, allocations: 71.8 kB / 320.8 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/0.004503, allocations: 58.34 kB / 320.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.004533, allocations: 16 kB / 320.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.004768, allocations: 139.7 kB / 321 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.004824, allocations: 39.83 kB / 321.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.004866, allocations: 35.84 kB / 321.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.005152, allocations: 211.4 kB / 321.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.005154, allocations: 4 kB / 321.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.005156, allocations: 0 / 321.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.005161, allocations: 0 / 321.3 MB, free: 3.434 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005412/0.005703, allocations: 381.5 kB / 321.7 MB, free: 3.031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.00575, allocations: 8.922 kB / 321.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.553e-05/0.005816, allocations: 42.7 kB / 321.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.006027, allocations: 40.75 kB / 321.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.006161, allocations: 153.5 kB / 321.9 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.006181, allocations: 4.375 kB / 321.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.006205, allocations: 12.12 kB / 322 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.006393, allocations: 115 kB / 322.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.006402, allocations: 0 / 322.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.006414, allocations: 8 kB / 322.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.00642, allocations: 0 / 322.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.006523, allocations: 59.89 kB / 322.1 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.007049, allocations: 407.9 kB / 322.5 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.00725, allocations: 121.2 kB / 322.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.633e-05/0.007316, allocations: 53.69 kB / 322.7 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.007327, allocations: 4 kB / 322.7 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.007519, allocations: 133.1 kB / 322.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.007521, allocations: 3.938 kB / 322.8 MB, free: 1.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003384/0.007859, allocations: 233.6 kB / 323.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.007915, allocations: 101 kB / 323.2 MB, free: 1.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.008034, allocations: 174.2 kB / 323.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.00806, allocations: 41.69 kB / 323.4 MB, free: 1.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.008111, allocations: 108.6 kB / 323.5 MB, free: 1.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.008152, allocations: 47.67 kB / 323.5 MB, free: 1.023 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.008211, allocations: 53.92 kB / 323.6 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.008302, allocations: 338.7 kB / 323.9 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.00842, allocations: 96.47 kB / 324 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.008536, allocations: 128.3 kB / 324.1 MB, free: 400 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.008749, allocations: 214.9 kB / 324.3 MB, free: 176 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.008752, allocations: 0 / 324.3 MB, free: 176 kB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003216/0.009074, allocations: 289.4 kB / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.009093, allocations: 8 kB / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.009107, allocations: 0 / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.009123, allocations: 4 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.009214, allocations: 23.98 kB / 324.7 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.009223, allocations: 7.922 kB / 324.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.009265, allocations: 35.84 kB / 324.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.009278, allocations: 4 kB / 324.7 MB, free: 15.8 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.0001088/0.009387, allocations: 145.9 kB / 324.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.009402, allocations: 15.91 kB / 324.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.00943, allocations: 17.45 kB / 324.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.009433, allocations: 0 / 324.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.00944, allocations: 0 / 324.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.009445, allocations: 3.938 kB / 324.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.009625, allocations: 184.5 kB / 325.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.009627, allocations: 0 / 325.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.009654, allocations: 11.98 kB / 325.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.009657, allocations: 0 / 325.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.009666, allocations: 0 / 325.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.009668, allocations: 4 kB / 325.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.009669, allocations: 0 / 325.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.009892, allocations: 213.8 kB / 325.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.009909, allocations: 19.84 kB / 325.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.009931, allocations: 15.98 kB / 325.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.656e-05/0.009957, allocations: 4 kB / 325.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.01001, allocations: 19.86 kB / 325.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.01002, allocations: 7.984 kB / 325.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.899e-05/0.01009, allocations: 128.2 kB / 325.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01009, allocations: 0 / 325.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.01031, allocations: 51.89 kB / 325.5 MB, free: 14.9 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.0009751/0.01129, allocations: 0.9134 MB / 326.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.01158, allocations: 184.4 kB / 326.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01158, allocations: 0 / 326.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.631e-05/0.01166, allocations: 55.95 kB / 326.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.0118, allocations: 11.92 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.01377, allocations: 2.108 MB / 328.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.405e-05/0.01384, allocations: 102.4 kB / 328.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.01389, allocations: 12.97 kB / 328.9 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.01395, allocations: 40.48 kB / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of SimCode: time 1.283e-06/0.01395, allocations: 0 / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.03265, allocations: 4.418 MB / 333.4 MB, free: 7.062 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/6.914, allocations: 14.91 kB / 333.4 MB, free: 7.051 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.829897380433977]