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.001312/0.001312, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.00145/0.00145, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.546/1.546, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.002456/0.002456, allocations: 55.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3052, allocations: 49.15 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002742/0.3079, allocations: 1.462 MB / 397.8 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3091, allocations: 0.5433 MB / 398.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.3092, allocations: 1.125 kB / 398.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.3093, allocations: 17.22 kB / 398.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.3094, allocations: 16.05 kB / 398.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.31, allocations: 159.4 kB / 398.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.3101, allocations: 114.5 kB / 398.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/0.3102, allocations: 4.906 kB / 398.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.067e-05/0.3103, allocations: 55.3 kB / 398.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.961e-05/0.3103, allocations: 51.23 kB / 398.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.3104, allocations: 14.16 kB / 398.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.3107, allocations: 160.5 kB / 398.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.3108, allocations: 37.38 kB / 399 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.3108, allocations: 44.83 kB / 399 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.3112, allocations: 212 kB / 399.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3112, allocations: 3.938 kB / 399.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3112, allocations: 0 / 399.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3112, allocations: 1.281 kB / 399.2 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.0006386/0.3119, allocations: 384.7 kB / 399.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3119, allocations: 14.2 kB / 399.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.312, allocations: 43.45 kB / 399.7 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.3123, allocations: 39.34 kB / 399.7 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3124, allocations: 144 kB / 399.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.3124, allocations: 4.922 kB / 399.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3124, allocations: 10.72 kB / 399.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.3127, allocations: 113 kB / 400 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3127, allocations: 3.938 kB / 400 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3127, allocations: 2.016 kB / 400 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3127, allocations: 1.188 kB / 400 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.3129, allocations: 64.91 kB / 400 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006424/0.3135, allocations: 402.1 kB / 400.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.3138, allocations: 117.6 kB / 400.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3139, allocations: 63.62 kB / 400.6 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.314, allocations: 1.891 kB / 400.6 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.3143, allocations: 145.2 kB / 400.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.3143, allocations: 0 / 400.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005088/0.3148, allocations: 234.9 kB / 401 MB, free: 5.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.3148, allocations: 96.34 kB / 401.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.315, allocations: 178.2 kB / 401.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.315, allocations: 47.16 kB / 401.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.3151, allocations: 113.5 kB / 401.4 MB, free: 5.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.3151, allocations: 39.38 kB / 401.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.3152, allocations: 58.05 kB / 401.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.521e-05/0.3153, allocations: 334.8 kB / 401.8 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3154, allocations: 102.4 kB / 401.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.3156, allocations: 132.8 kB / 402.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.316, allocations: 216.6 kB / 402.3 MB, free: 4.938 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.316, allocations: 1.188 kB / 402.3 MB, free: 4.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005004/0.3165, allocations: 295.2 kB / 402.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3165, allocations: 5.312 kB / 402.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3165, allocations: 1.797 kB / 402.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.3165, allocations: 2.188 kB / 402.6 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3167, allocations: 32.97 kB / 402.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3167, allocations: 2.828 kB / 402.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.3168, allocations: 27.64 kB / 402.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.3168, allocations: 6.922 kB / 402.6 MB, free: 4.793 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.0001245/0.3169, allocations: 150 kB / 402.8 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.3169, allocations: 22.28 kB / 402.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.317, allocations: 11.84 kB / 402.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.317, allocations: 2.25 kB / 402.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.317, allocations: 0 / 402.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.317, allocations: 4.969 kB / 402.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.3171, allocations: 167.3 kB / 403 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3171, allocations: 3 kB / 403 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.3172, allocations: 7.031 kB / 403 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3172, allocations: 0.9375 kB / 403 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3172, allocations: 7.922 kB / 403 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3172, allocations: 1.031 kB / 403 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3172, allocations: 1.219 kB / 403 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.3175, allocations: 236.1 kB / 403.2 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.3176, allocations: 17.16 kB / 403.2 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.3176, allocations: 10.56 kB / 403.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.3176, allocations: 7.422 kB / 403.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.3177, allocations: 14.75 kB / 403.3 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.3177, allocations: 3.5 kB / 403.3 MB, free: 4.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.092e-05/0.3178, allocations: 122 kB / 403.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3178, allocations: 1.406 kB / 403.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.3181, allocations: 57.72 kB / 403.5 MB, free: 4.188 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.0009942/0.3191, allocations: 0.9545 MB / 404.4 MB, free: 3.418 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003902/0.3195, allocations: 179.1 kB / 404.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3195, allocations: 0 / 404.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3196, allocations: 51.16 kB / 404.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.3198, allocations: 8.797 kB / 404.6 MB, free: 3.355 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.322, allocations: 2.108 MB / 406.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.947e-05/0.3221, allocations: 97.72 kB / 406.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.231e-05/0.3222, allocations: 16.7 kB / 406.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.3223, allocations: 38.34 kB / 406.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3223, allocations: 0 / 406.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.3623, allocations: 4.426 MB / 411.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.99, allocations: 9.078 kB / 411.3 MB, free: 15.84 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.664394529070705]