Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.002033/0.002033, allocations: 112.4 kB / 21.19 MB, free: 0.7031 MB / 14.72 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.002777/0.002777, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 56.25 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2927, allocations: 49.16 MB / 396.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002947/0.2957, allocations: 1.488 MB / 397.8 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.2969, allocations: 0.5775 MB / 398.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.2969, allocations: 0 / 398.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.297, allocations: 14.91 kB / 398.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.902e-05/0.2971, allocations: 12.03 kB / 398.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.2978, allocations: 157.2 kB / 398.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.2979, allocations: 118.4 kB / 398.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.298, allocations: 10 kB / 398.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.298, allocations: 57.44 kB / 398.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.2981, allocations: 60.69 kB / 398.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.2981, allocations: 9.688 kB / 398.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.2985, allocations: 166 kB / 399 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.2985, allocations: 31.83 kB / 399 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.2986, allocations: 60.09 kB / 399.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.299, allocations: 205.2 kB / 399.3 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.299, allocations: 4.969 kB / 399.3 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.299, allocations: 1.312 kB / 399.3 MB, free: 7.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.299, allocations: 0 / 399.3 MB, free: 7.164 MB / 318.1 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.0006793/0.2997, allocations: 392.5 kB / 399.7 MB, free: 6.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.2997, allocations: 12.77 kB / 399.7 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.928e-05/0.2998, allocations: 35.16 kB / 399.7 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003386/0.3001, allocations: 40.05 kB / 399.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3003, allocations: 145.5 kB / 399.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.3003, allocations: 7.219 kB / 399.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.3003, allocations: 11.53 kB / 399.9 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.3006, allocations: 114.1 kB / 400 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3006, allocations: 3.938 kB / 400 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3006, allocations: 6.797 kB / 400.1 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.3006, allocations: 5.219 kB / 400.1 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.3008, allocations: 52.5 kB / 400.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/0.3015, allocations: 428.4 kB / 400.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.3018, allocations: 121.5 kB / 400.6 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3019, allocations: 52.31 kB / 400.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.3019, allocations: 1.891 kB / 400.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/0.3022, allocations: 143.2 kB / 400.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.3022, allocations: 0 / 400.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005708/0.3028, allocations: 240.9 kB / 401.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.3028, allocations: 91.7 kB / 401.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.303, allocations: 177.4 kB / 401.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.3031, allocations: 48.19 kB / 401.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.3032, allocations: 109.6 kB / 401.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.3032, allocations: 42.2 kB / 401.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.3033, allocations: 54.94 kB / 401.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.3034, allocations: 333.6 kB / 401.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.3036, allocations: 102.9 kB / 402 MB, free: 5.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.3038, allocations: 132.1 kB / 402.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.3042, allocations: 216.3 kB / 402.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3042, allocations: 4 kB / 402.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004908/0.3046, allocations: 300.5 kB / 402.7 MB, free: 4.809 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3047, allocations: 6.078 kB / 402.7 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3047, allocations: 0 / 402.7 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3047, allocations: 2.188 kB / 402.7 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3049, allocations: 29.39 kB / 402.7 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.3049, allocations: 3.875 kB / 402.7 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/0.3049, allocations: 22.81 kB / 402.7 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.305, allocations: 6.922 kB / 402.7 MB, free: 4.789 MB / 318.1 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.0001276/0.3051, allocations: 154.7 kB / 402.9 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.3051, allocations: 14.16 kB / 402.9 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.3052, allocations: 14.69 kB / 402.9 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3052, allocations: 1.094 kB / 402.9 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.3052, allocations: 1.031 kB / 402.9 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3052, allocations: 4.797 kB / 402.9 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.3054, allocations: 184.8 kB / 403.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3054, allocations: 1.219 kB / 403.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.3054, allocations: 8.016 kB / 403.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3054, allocations: 1.031 kB / 403.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3054, allocations: 3.047 kB / 403.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3054, allocations: 0.6562 kB / 403.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3054, allocations: 1.156 kB / 403.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.3058, allocations: 240.3 kB / 403.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.3058, allocations: 13.88 kB / 403.3 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.3059, allocations: 11.55 kB / 403.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.053e-05/0.3059, allocations: 9.922 kB / 403.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.306, allocations: 14.19 kB / 403.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.306, allocations: 2.938 kB / 403.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.3061, allocations: 127.2 kB / 403.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3061, allocations: 4 kB / 403.5 MB, free: 4.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000366/0.3065, allocations: 57.62 kB / 403.6 MB, free: 4.172 MB / 318.1 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.001142/0.3076, allocations: 0.942 MB / 404.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004697/0.3081, allocations: 181.5 kB / 404.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3081, allocations: 0 / 404.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.3082, allocations: 57.08 kB / 404.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.3084, allocations: 3.344 kB / 404.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.3108, allocations: 2.101 MB / 406.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.3109, allocations: 0.7094 MB / 407.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.347e-05/0.311, allocations: 19.67 kB / 407.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.3111, allocations: 39.19 kB / 407.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3111, allocations: 0 / 407.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.3491, allocations: 4.023 MB / 411.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.91, allocations: 9.234 kB / 411.7 MB, free: 15.65 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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: 14.644348834000994]